ports/math/openblas/files/patch-exports_Makefile
Thierry Thomas 1649f8e10f Set a SONAME in libopenblas.so.
PR:		245320
Submitted by:	/me
Approved by:	phd_kimberlite (maintainer)
2020-04-04 09:03:31 +00:00

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