summaryrefslogtreecommitdiff
path: root/math/openblas/files/patch-exports_Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2020-04-04 09:03:31 +0000
committerThierry Thomas <thierry@FreeBSD.org>2020-04-04 09:03:31 +0000
commit1649f8e10f3a5db5d328cb8f33d331b7544d52f2 (patch)
treeab1a2ae25d4c467b5157ce3423e16ad9ddd53bec /math/openblas/files/patch-exports_Makefile
parentsecurity/honeytrap: Update to 2020-02-26 (diff)
Set a SONAME in libopenblas.so.
PR: 245320 Submitted by: /me Approved by: phd_kimberlite (maintainer)
Notes
Notes: svn path=/head/; revision=530631
Diffstat (limited to 'math/openblas/files/patch-exports_Makefile')
-rw-r--r--math/openblas/files/patch-exports_Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/openblas/files/patch-exports_Makefile b/math/openblas/files/patch-exports_Makefile
new file mode 100644
index 000000000000..26dccbab2baf
--- /dev/null
+++ b/math/openblas/files/patch-exports_Makefile
@@ -0,0 +1,11 @@
+--- 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
+