summaryrefslogtreecommitdiff
path: root/graphics/jpeg
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>1997-10-31 12:26:33 +0000
committermycroft <mycroft@pkgsrc.org>1997-10-31 12:26:33 +0000
commit3eb532a5e1dc72dcb0e480e9a58904eef023d457 (patch)
tree633e60bea708c6d5eebdfb0d730dad9d840d1043 /graphics/jpeg
parent8612756bd9432442b8d67d3599f0fef3565996fd (diff)
downloadpkgsrc-3eb532a5e1dc72dcb0e480e9a58904eef023d457.tar.gz
Slight fix to the shared library linking command.
XXX This doesn't work for ELF/binutils.
Diffstat (limited to 'graphics/jpeg')
-rw-r--r--graphics/jpeg/patches/patch-aa2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/jpeg/patches/patch-aa b/graphics/jpeg/patches/patch-aa
index 734d06528aa..3f4c6e14365 100644
--- a/graphics/jpeg/patches/patch-aa
+++ b/graphics/jpeg/patches/patch-aa
@@ -52,7 +52,7 @@
$(AR2) libjpeg.a
! libjpeg.so.7.0: @ANSI2KNR@ $(LIBOBJECTS:S/o$/so/g)
-! ld -Bshareable -o libjpeg.so.7.0 $(LIBOBJECTS:S/o$/so/g)
+! ld -x -Bshareable -Bforcearchive -o libjpeg.so.7.0 $(LIBOBJECTS:S/o$/so/g)
!
! cjpeg: $(COBJECTS) libjpeg.so.7.0
! $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) -L. -ljpeg $(LDLIBS)