1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/devel/mico/files/patch-ao
Steve Price 918286e9a8 Upgrade to version 2.3.0.
PR:		14001
Submitted by:	Maxim Sobolev <sobomax@altavista.net>
1999-12-03 21:02:57 +00:00

20 lines
526 B
Plaintext

--- 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"