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

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

[nongnu] elpa/emacsql 5ad4d2da9a 355/427: fix ldlibs for berkeley-unix s


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 5ad4d2da9a 355/427: fix ldlibs for berkeley-unix systems
Date: Tue, 13 Dec 2022 03:00:02 -0500 (EST)

branch: elpa/emacsql
commit 5ad4d2da9aa1ee0c2f9915d3c92a61eb7d999f68
Author: Gerome Fournier <jef@foutaise.org>
Commit: Gerome Fournier <jef@foutaise.org>

    fix ldlibs for berkeley-unix systems
---
 emacsql-sqlite.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
index f4ae69eaee..4357bce15f 100644
--- a/emacsql-sqlite.el
+++ b/emacsql-sqlite.el
@@ -169,7 +169,7 @@ If called with non-nil ASYNC the return value is 
meaningless."
          (files (mapcar (lambda (f) (expand-file-name f src))
                         '("sqlite3.c" "emacsql.c")))
          (cflags (list (format "-I%s" src) (format "-O%d" (or o-level 2))))
-         (ldlibs (if (eq system-type 'windows-nt) () (list "-ldl")))
+         (ldlibs (if (memq system-type '(windows-nt berkeley-unix)) () (list 
"-ldl")))
          (options (emacsql-sqlite-compile-switches))
          (output (list "-o" emacsql-sqlite-executable))
          (arguments (nconc cflags options files ldlibs output)))



reply via email to

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