summaryrefslogtreecommitdiff
path: root/scripts/makefile.linux
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makefile.linux')
-rw-r--r--scripts/makefile.linux6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/makefile.linux b/scripts/makefile.linux
index 5c9c233c6..fbeb83bd2 100644
--- a/scripts/makefile.linux
+++ b/scripts/makefile.linux
@@ -5,7 +5,7 @@
LIBNAME = libpng12
PNGMAJ = 0
-PNGMIN = 1.2.5rc1
+PNGMIN = 1.2.5rc2
PNGVER = $(PNGMAJ).$(PNGMIN)
CC=gcc
@@ -99,12 +99,12 @@ $(LIBNAME).so.$(PNGMAJ): $(LIBNAME).so.$(PNGVER)
$(LIBNAME).so.$(PNGVER): $(OBJSDLL)
$(CC) -shared -Wl,-soname,$(LIBNAME).so.$(PNGMAJ) \
-o $(LIBNAME).so.$(PNGVER) \
- $(OBJSDLL) -L$(ZLIBLIB) -lz -lm -lc
+ $(OBJSDLL)
libpng.so.3.$(PNGMIN): $(OBJSDLL)
$(CC) -shared -Wl,-soname,libpng.so.3 \
-o libpng.so.3.$(PNGMIN) \
- $(OBJSDLL) -L$(ZLIBLIB) -lz -lm -lc
+ $(OBJSDLL)
pngtest: pngtest.o $(LIBNAME).so
$(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)