mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
b47bf4289c
PR: ports/19692 Submitted by: OKAZAKI Tetsurou <okazaki@be.to>
15 lines
501 B
Plaintext
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
|