aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/png
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-08-20 17:43:05 +0800
committerache <ache@FreeBSD.org>1997-08-20 17:43:05 +0800
commit4e44f617dd4bae01c7070a66eae73e1f25d742c1 (patch)
tree68f0fc2911bc7cf3ec187b4182aceeaced1e1f9c /graphics/png
parent05d794b63470b9ac223dd51439cea4d9d172a37e (diff)
downloadfreebsd-ports-gnome-4e44f617dd4bae01c7070a66eae73e1f25d742c1.tar.gz
freebsd-ports-gnome-4e44f617dd4bae01c7070a66eae73e1f25d742c1.tar.zst
freebsd-ports-gnome-4e44f617dd4bae01c7070a66eae73e1f25d742c1.zip
Add -lz to .so building
Submitted by: Sumida <alta@ryozan.rim.or.jp>
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/files/patch-aa2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-aa
index 07440787845f..c2d5b37f33af 100644
--- a/graphics/png/files/patch-aa
+++ b/graphics/png/files/patch-aa
@@ -65,7 +65,7 @@
$(RANLIB) $@
+ libpng.so.${VER}: $(OBJS:S/o$/so/g)
-+ ${CC} -shared -Wl,-x -Wl,-assert -Wl,pure-text -o $@ $(OBJS:S/o$/so/g)
++ ${CC} -shared -Wl,-x -Wl,-assert -Wl,pure-text -o $@ $(OBJS:S/o$/so/g) -lz
+
pngtest: pngtest.o libpng.a
$(CC) -o pngtest $(CCFLAGS) pngtest.o $(LDFLAGS)