aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-12-16 16:59:18 +0800
committerache <ache@FreeBSD.org>1997-12-16 16:59:18 +0800
commitf7157bd95f3dab34dd7ac8e0b9e32e5d41c91758 (patch)
tree936d51673f3e6a43b59356dd4d578c74b76d2388 /graphics
parenta939fab3545b404136e274927295a3c5723913d9 (diff)
downloadfreebsd-ports-gnome-f7157bd95f3dab34dd7ac8e0b9e32e5d41c91758.tar.gz
freebsd-ports-gnome-f7157bd95f3dab34dd7ac8e0b9e32e5d41c91758.tar.zst
freebsd-ports-gnome-f7157bd95f3dab34dd7ac8e0b9e32e5d41c91758.zip
Add -lm to shared flags
Diffstat (limited to 'graphics')
-rw-r--r--graphics/png/files/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-aa
index c2d5b37f33af..9a5c974053cc 100644
--- a/graphics/png/files/patch-aa
+++ b/graphics/png/files/patch-aa
@@ -1,5 +1,5 @@
*** makefile.orig Fri May 16 10:53:30 1997
---- makefile Tue Jun 24 16:53:47 1997
+--- makefile Tue Dec 16 11:54:05 1997
***************
*** 5,33 ****
# Where the zlib library and include files are located
@@ -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) -lz
++ ${CC} -shared -Wl,-x -Wl,-assert -Wl,pure-text -o $@ $(OBJS:S/o$/so/g) -lz -lm
+
pngtest: pngtest.o libpng.a
$(CC) -o pngtest $(CCFLAGS) pngtest.o $(LDFLAGS)