mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 11:10:32 -04:00
11 lines
406 B
Text
11 lines
406 B
Text
--- exports/Makefile.orig 2019-08-11 21:23:27 UTC
|
|
+++ exports/Makefile
|
|
@@ -184,7 +184,7 @@ else
|
|
endif
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \
|
|
-Wl,--whole-archive $< -Wl,--no-whole-archive \
|
|
- $(FEXTRALIB) $(EXTRALIB)
|
|
+ -Wl,-soname,$(LIBSONAME) $(FEXTRALIB) $(EXTRALIB)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
|
|
rm -f linktest
|
|
|