opnsense-ports/devel/libtai/files/patch-make-makelibso.sh
Franco Fichtner 69f6c60497 */*: sync with upstream
Taken from: FreeBSD
2024-02-27 10:03:11 +01:00

6 lines
200 B
Bash

--- make-makelibso.sh.orig Wed Dec 31 21:00:00 1969 UTC
+++ make-makelibso.sh
@@ -0,0 +1,3 @@
+echo 'main="$1"; shift'
+echo 'rm -f "$main"'
+echo $CC '-shared -Wl,-soname,$main -o "$main" ${1+"$@"}'