branch: elpa/emacsql
commit 7e078e2b325233c7a4176dda0187aa9b61d5b51b
Author: Christopher Wellons <well...@nullprogram.com>
Commit: Christopher Wellons <well...@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