[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql 801bc6239f 222/427: Swap the tuple order.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql 801bc6239f 222/427: Swap the tuple order. |
Date: |
Tue, 13 Dec 2022 02:59:46 -0500 (EST) |
branch: elpa/emacsql
commit 801bc6239f1f02443a20577d288559906b67ff90
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>
Swap the tuple order.
---
emacsql-system.el | 4 ++--
sqlite/Makefile | 10 ++++++----
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/emacsql-system.el b/emacsql-system.el
index 2ac8bfcc21..01d77210ef 100644
--- a/emacsql-system.el
+++ b/emacsql-system.el
@@ -25,6 +25,7 @@
(defun emacsql-system-tuple ()
"Return a tuple (kernel architecture) for the current system."
(list
+ (emacsql-system-architecture)
(cl-ecase system-type
(gnu 'hurd)
(gnu/linux 'linux)
@@ -32,8 +33,7 @@
(darwin 'darwin)
(ms-dos 'dos)
(windows-nt 'windows)
- (cygwin 'windows))
- (emacsql-system-architecture)))
+ (cygwin 'windows))))
(defun emacsql-system-binary (prefix)
"Determine an executable name for PREFIX."
diff --git a/sqlite/Makefile b/sqlite/Makefile
index 4e47907d27..c8e34aea94 100644
--- a/sqlite/Makefile
+++ b/sqlite/Makefile
@@ -1,10 +1,12 @@
ifeq ($(OS),Windows_NT)
- OSTUPLE = windows-x86
+ OSTUPLE = x86-windows
BINARY = emacsql-sqlite-$(OSTUPLE).exe
else
- OSTUPLE = $(shell uname -sm | tr '[A-Z]' '[a-z]' | tr ' ' '-')
- BINARY = emacsql-sqlite-$(OSTUPLE)
- LDLIBS = -ldl
+ PART_ARCH = $(shell uname -m)
+ PART_OS = $(shell uname -ms | tr '[A-Z]' '[a-z]')
+ OSTUPLE = $(PART_ARCH)-$(PART_OS)
+ BINARY = emacsql-sqlite-$(OSTUPLE)
+ LDLIBS = -ldl
endif
CFLAGS = -O2 --std=c99 -W -Wall -Wextra
- [nongnu] elpa/emacsql cd5e856ea6 150/427: Add :autoincrement., (continued)
- [nongnu] elpa/emacsql cd5e856ea6 150/427: Add :autoincrement., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql f31120edb6 155/427: Fix up documentation headers., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql adfbc7ed83 156/427: Add emacsql-show-last-sql., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 60d92d3051 159/427: Change the output mode to list., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql d2f1bcef5d 165/427: Rename add-connection to register., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 9dcfebfba7 030/427: Factor out schema->string code., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1f6c06bda9 050/427: Use expr expansion in :where expander., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 39aa16906a 034/427: Remove redundant wait., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql cda366379a 085/427: Add Windows note., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql db0159f138 032/427: Update README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 801bc6239f 222/427: Swap the tuple order.,
ELPA Syncer <=
- [nongnu] elpa/emacsql 9e6ea00f01 243/427: Add note about PostgreSQL., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ad6c09681e 261/427: Oops, print the tuple., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ff59ca9336 265/427: Clear out binaries in distclean, too., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 00bb81ff2b 266/427: Fix Makefile typo., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql c8de0ff1fd 293/427: Adjust the EmacSQL protocol., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 51224aab7a 288/427: Add unit test for last change., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql c5845884f4 021/427: Rename type to column., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 7caa63c11e 023/427: Allow any sequence for table spec., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 963f221b82 049/427: Add expr expansion function., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 109664b88b 060/427: Memoize emacsql-expand., ELPA Syncer, 2022/12/13