emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/emacsql 7e078e2b32 282/427: Change OS-detection in Makefil


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 7e078e2b32 282/427: Change OS-detection in Makefile.
Date: Tue, 13 Dec 2022 02:59:51 -0500 (EST)

branch: elpa/emacsql
commit 7e078e2b325233c7a4176dda0187aa9b61d5b51b
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Change OS-detection in Makefile.
---
 sqlite/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sqlite/Makefile b/sqlite/Makefile
index dae2ecd5a5..b44ab83d7d 100644
--- a/sqlite/Makefile
+++ b/sqlite/Makefile
@@ -3,9 +3,11 @@ GETTUPLE  = -l ../emacsql-system.el -f 
emacsql-system-print-tuple
 OSTUPLE  ?= $(shell $(EMACS) -Q -batch $(GETTUPLE))
 BINARY    = emacsql-sqlite-$(OSTUPLE)
 
-ifeq ($(OS),Windows_NT)
+ifneq (,$(findstring windows, $(OSTUPLE)))
+    ## Windows
     BINARY := $(BINARY).exe
 else
+    ## Unix-like
     LDLIBS  = -ldl
 endif
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]