emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 fed35a8: Port emacsclient to Solaris 10


From: Paul Eggert
Subject: emacs-28 fed35a8: Port emacsclient to Solaris 10
Date: Thu, 2 Dec 2021 21:45:12 -0500 (EST)

branch: emacs-28
commit fed35a89517aa4e282273f7e3c75bafd4e698ce4
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    Port emacsclient to Solaris 10
    
    Without this patch, the build fails on Solaris 10 with the diagnostic
    “Undefined symbol acl_trivial first referenced in file
    ../lib/libgnu.a(file-has-acl.o)”.
    * lib-src/Makefile.in (LIB_HAS_ACL): New macro.
    (emacsclient${EXEEXT}): Link with $(LIB_HAS_ACL).
---
 lib-src/Makefile.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index e6cda73..f5d9db9 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -184,6 +184,8 @@ LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
 LIB_GETRANDOM = @LIB_GETRANDOM@
 ## Whatever libraries are needed for euidaccess
 LIB_EACCESS=@LIB_EACCESS@
+## Libraries needed for file_has_acl
+LIB_HAS_ACL=@LIB_HAS_ACL@
 ## empty or -lwsock2 for MinGW
 LIB_WSOCK32=@LIB_WSOCK32@
 
@@ -400,7 +402,7 @@ pop.o: ${srcdir}/pop.c ${srcdir}/pop.h 
${srcdir}/../lib/min-max.h $(config_h)
 emacsclient${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(config_h)
        $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< \
           $(NTLIB) $(LOADLIBES) \
-          $(LIB_WSOCK32) $(LIB_EACCESS) $(LIBS_ECLIENT) -o $@
+          $(LIB_WSOCK32) $(LIB_EACCESS) $(LIB_HAS_ACL) $(LIBS_ECLIENT) -o $@
 
 emacsclientw${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(CLIENTRES) 
$(config_h)
        $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $(CLIENTRES) -mwindows $< \



reply via email to

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