diff options
-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 |