1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/editors/emacs20-dl/files/patch-ca
Shigeyuki Fukushima b47bf4289c Update to 20.7.
PR:		ports/19692
Submitted by:	OKAZAKI Tetsurou <okazaki@be.to>
2000-07-05 14:33:21 +00:00

15 lines
501 B
Plaintext

--- src/Makefile.in.orig Sun Jul 2 12:44:43 2000
+++ src/Makefile.in Sun Jul 2 12:44:44 2000
@@ -418,7 +418,11 @@
libexecdir=${exec_prefix}/libexec
archlibdir=${libexecdir}/emacs/${version}/${configuration}
#ifdef __FreeBSD__
+#ifdef __ELF__
+#define LINKER $(CC) -nostdlib -Wl,-export-dynamic -Wl,-R${archlibdir}
+#else /* not __ELF__ */
#define LINKER $(CC) -nostdlib -Wl,-R${archlibdir}
+#endif /* __ELF__ */
#else
#define LINKER $(CC) -nostdlib -rdynamic -Wl,-rpath,${archlibdir}
#endif