diff options
author | mellon <mellon@pkgsrc.org> | 1998-02-12 20:01:48 +0000 |
---|---|---|
committer | mellon <mellon@pkgsrc.org> | 1998-02-12 20:01:48 +0000 |
commit | 6c5529e924781b8a49ec41dd5bef4c83aff839c3 (patch) | |
tree | bde14bbf204ecaeb3c141a631692b69a42cec1d2 /graphics | |
parent | e893166506b5e32dd15814d2962a0300094b8b32 (diff) | |
download | pkgsrc-6c5529e924781b8a49ec41dd5bef4c83aff839c3.tar.gz |
Alpha and MIPS use --whole-archive instead of -Bforcearchive.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/jpeg/patches/patch-aa | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/jpeg/patches/patch-aa b/graphics/jpeg/patches/patch-aa index 3f4c6e14365..3074078d739 100644 --- a/graphics/jpeg/patches/patch-aa +++ b/graphics/jpeg/patches/patch-aa @@ -47,12 +47,16 @@ rdjpgcom: rdjpgcom.o $(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.o $(LDLIBS) ---- 137,153 ---- +--- 137,157 ---- $(AR) libjpeg.a $(LIBOBJECTS) $(AR2) libjpeg.a ! libjpeg.so.7.0: @ANSI2KNR@ $(LIBOBJECTS:S/o$/so/g) +! .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "mips") +! ld -x -Bshareable --whole-archive -o libjpeg.so.7.0 $(LIBOBJECTS:S/o$/so/g) +! .else ! ld -x -Bshareable -Bforcearchive -o libjpeg.so.7.0 $(LIBOBJECTS:S/o$/so/g) +! .endif ! ! cjpeg: $(COBJECTS) libjpeg.so.7.0 ! $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) -L. -ljpeg $(LDLIBS) |