summaryrefslogtreecommitdiff
path: root/math/openblas64/files/patch-exports_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/openblas64/files/patch-exports_Makefile')
-rw-r--r--math/openblas64/files/patch-exports_Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/openblas64/files/patch-exports_Makefile b/math/openblas64/files/patch-exports_Makefile
new file mode 100644
index 000000000000..7e7692de9ce0
--- /dev/null
+++ b/math/openblas64/files/patch-exports_Makefile
@@ -0,0 +1,11 @@
+--- 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
+