diff options
author | mycroft <mycroft@pkgsrc.org> | 1997-10-31 12:26:33 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 1997-10-31 12:26:33 +0000 |
commit | 3eb532a5e1dc72dcb0e480e9a58904eef023d457 (patch) | |
tree | 633e60bea708c6d5eebdfb0d730dad9d840d1043 /graphics | |
parent | 8612756bd9432442b8d67d3599f0fef3565996fd (diff) | |
download | pkgsrc-3eb532a5e1dc72dcb0e480e9a58904eef023d457.tar.gz |
Slight fix to the shared library linking command.
XXX This doesn't work for ELF/binutils.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/jpeg/patches/patch-aa | 2 | ||||
-rw-r--r-- | graphics/png/patches/patch-aa | 2 |
2 files changed, 2 insertions, 2 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) 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 |