[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 3003094: Port emacsclient euidaccess to Solaris 10
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 3003094: Port emacsclient euidaccess to Solaris 10 |
Date: |
Thu, 25 Apr 2019 11:51:23 -0400 (EDT) |
branch: master
commit 30030945c30c4710d0d70cabad9d1b512cede0ee
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Port emacsclient euidaccess to Solaris 10
Without this fix, linking emacsclient fails with ‘Undefined
symbol eaccess’ on Solaris 10 sparc.
* lib-src/Makefile.in (LIB_EACCESS): New macro.
(emacsclient${EXEEXT}, emacsclientw${EXEEXT}): Use it.
---
lib-src/Makefile.in | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 387a6e3..b5b55b8 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -204,6 +204,8 @@ address@hidden@
address@hidden@
## empty or -lrt or -lposix4 if HAVE_CLOCK_GETTIME
LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
+## Whatever libraries are needed for euidaccess
address@hidden@
## empty or -lwsock2 for MinGW
address@hidden@
@@ -398,12 +400,12 @@ 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} $< \
-DVERSION="\"${version}\"" $(NTLIB) $(LOADLIBES) \
- $(LIB_WSOCK32) $(LIBS_ECLIENT) -o $@
+ $(LIB_WSOCK32) $(LIB_EACCESS) $(LIBS_ECLIENT) -o $@
emacsclientw${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(CLIENTRES)
$(config_h)
$(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $(CLIENTRES) -mwindows $< \
-DVERSION="\"${version}\"" $(LOADLIBES) \
- $(LIB_WSOCK32) $(LIBS_ECLIENT) -o $@
+ $(LIB_WSOCK32) $(LIB_EACCESS) $(LIBS_ECLIENT) -o $@
NTINC = ${srcdir}/../nt/inc
NTDEPS = $(NTINC)/ms-w32.h $(NTINC)/sys/stat.h $(NTINC)/inttypes.h \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 3003094: Port emacsclient euidaccess to Solaris 10,
Paul Eggert <=