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

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

[nongnu] elpa/emacsql 933e6f109a 263/427: Clean up for easier cross-comp


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 933e6f109a 263/427: Clean up for easier cross-compilation.
Date: Tue, 13 Dec 2022 02:59:50 -0500 (EST)

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

    Clean up for easier cross-compilation.
---
 .gitignore      | 1 -
 sqlite/Makefile | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3be8c79acc..c4eeda0575 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,5 +2,4 @@
 *.tar
 .cask
 *-pkg.el
-bin/
 *.o
diff --git a/sqlite/Makefile b/sqlite/Makefile
index 1c54862a0f..d71cd2d31e 100644
--- a/sqlite/Makefile
+++ b/sqlite/Makefile
@@ -1,12 +1,12 @@
 EMACS    ?= emacs
 GETTUPLE  = -l ../emacsql-system.el -f emacsql-system-print-tuple
-OSTUPLE   = $(shell $(EMACS) -Q -batch $(GETTUPLE))
+OSTUPLE  ?= $(shell $(EMACS) -Q -batch $(GETTUPLE))
 BINARY    = emacsql-sqlite-$(OSTUPLE)
 
 ifeq ($(OS),Windows_NT)
-    OSTUPLE += .exe
+    BINARY := $(BINARY).exe
 else
-    LDLIBS     = -ldl
+    LDLIBS  = -ldl
 endif
 
 CFLAGS  = -O2 --std=c99 -W -Wall -Wextra



reply via email to

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