opnsense-ports/math/openblas/files/patch-exports_Makefile
Franco Fichtner 682a77b318 */*: sync with upstream
Taken from: FreeBSD
2023-12-13 09:08:38 +01:00

11 lines
406 B
Text

--- exports/Makefile.orig 2023-04-01 20:18:01 UTC
+++ exports/Makefile
@@ -222,7 +222,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