mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 09:26:27 -04:00
The option -export-dynamic is a linker option not (no longer?) understood by the compiler; pass -rdynamic to the compiler to have it pass -export-dynamic to the linker instead.
11 lines
231 B
Text
11 lines
231 B
Text
--- src/makefile.freebsd.orig 2024-10-26 15:44:05 UTC
|
|
+++ src/makefile.freebsd
|
|
@@ -45,7 +45,7 @@ LD=ld
|
|
# select loader
|
|
LD=ld
|
|
# needed for dynamic PLI loading
|
|
-LFLAGS=-export-dynamic
|
|
+LFLAGS=-rdynamic
|
|
|
|
# system libs
|
|
LIBS= -lm
|