summaryrefslogtreecommitdiff
path: root/devel/mico/files/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'devel/mico/files/patch-ao')
-rw-r--r--devel/mico/files/patch-ao19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/mico/files/patch-ao b/devel/mico/files/patch-ao
new file mode 100644
index 000000000000..3cd1d0986826
--- /dev/null
+++ b/devel/mico/files/patch-ao
@@ -0,0 +1,19 @@
+--- admin/mico-shld.def.in.orig Mon Jul 26 20:44:44 1999
++++ admin/mico-shld.def.in Mon Sep 27 23:32:57 1999
+@@ -50,10 +50,15 @@
+ outfile=` echo "$outfile" | sed -e 's/\.o$//' `'.@SOEXT@'
+
+ ldcmd="@SHARED_CC@ @PICFLAGS@ @LDSOFLAGS@ @DLFLAGS@ $libdirs @LDFLAGS@ -o $outfile \
+- $args" # @LIBS@
++-Wl,-soname,$outfile $args" # @LIBS@
+
+ echo "$ldcmd"
+ eval "$ldcmd" || exit
++
++symlink=` echo "$outfile" | sed 's/\.[1234567890]$//' `
++
++lncmd="ln -s $outfile $symlink"
++eval "$lncmd" || exit
+
+ # for HP-UX
+ chmod 555 "$outfile"