summaryrefslogtreecommitdiff
path: root/graphics/png
diff options
context:
space:
mode:
authormycroft <mycroft>1997-10-31 12:26:33 +0000
committermycroft <mycroft>1997-10-31 12:26:33 +0000
commit27db58725469c89c35a1a05e19ce98c82673ffe5 (patch)
tree633e60bea708c6d5eebdfb0d730dad9d840d1043 /graphics/png
parent7bf6e4cf52359d48548e81985b94cb6bdcef647e (diff)
downloadpkgsrc-27db58725469c89c35a1a05e19ce98c82673ffe5.tar.gz
Slight fix to the shared library linking command.
XXX This doesn't work for ELF/binutils.
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/patches/patch-aa2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/png/patches/patch-aa b/graphics/png/patches/patch-aa
index b791d782b80..2debf6a93f4 100644
--- a/graphics/png/patches/patch-aa
+++ b/graphics/png/patches/patch-aa
@@ -41,7 +41,7 @@
$(RANLIB) $@
+libpng.so.${VER}: $(OBJS:S/o$/so/g)
-+ ${LD} -Bshareable -o libpng.so.${VER} $(OBJS:S/o$/so/g)
++ ${LD} -x -Bshareable -Bforcearchive -o libpng.so.${VER} $(OBJS:S/o$/so/g)
+
+# XXX - agc - weird shared library load line
+# ${CC} -shared -Wl,-x -Wl,-assert -Wl,pure-text -o $@ $(OBJS:S/o$/so/g) -lz