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

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

[nongnu] elpa/emacsql 2db4a84598 225/427: Allow os tuples to be specifie


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 2db4a84598 225/427: Allow os tuples to be specified as an env var.
Date: Tue, 13 Dec 2022 02:59:46 -0500 (EST)

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

    Allow os tuples to be specified as an env var.
---
 sqlite/Makefile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/sqlite/Makefile b/sqlite/Makefile
index 4154b99178..357d1599f0 100644
--- a/sqlite/Makefile
+++ b/sqlite/Makefile
@@ -1,12 +1,12 @@
 ifeq ($(OS),Windows_NT)
-    OSTUPLE = x86-windows
-    BINARY  = emacsql-sqlite-$(OSTUPLE).exe
+    OSTUPLE ?= x86-windows
+    BINARY   = emacsql-sqlite-$(OSTUPLE).exe
 else
-    PART_ARCH = $(shell uname -m)
-    PART_OS   = $(shell uname -s | tr '[A-Z]' '[a-z]')
-    OSTUPLE   = $(PART_ARCH)-$(PART_OS)
-    BINARY    = emacsql-sqlite-$(OSTUPLE)
-    LDLIBS    = -ldl
+    PART_ARCH  = $(shell uname -m)
+    PART_OS    = $(shell uname -s | tr '[A-Z]' '[a-z]')
+    OSTUPLE   ?= $(PART_ARCH)-$(PART_OS)
+    BINARY     = emacsql-sqlite-$(OSTUPLE)
+    LDLIBS     = -ldl
 endif
 
 CFLAGS  = -O2 --std=c99 -W -Wall -Wextra



reply via email to

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