]> git.saurik.com Git - wxWidgets.git/blobdiff - src/png/scripts/makefile.sco
Fix calculation of the margins for owner-drawn menu items.
[wxWidgets.git] / src / png / scripts / makefile.sco
index 5df2523377cad91717a5604a1c2abac4ff18a653..ea9986710bc8acc00acd0c09e60d44d2a935e882 100644 (file)
@@ -9,7 +9,7 @@
 # Library name:
 LIBNAME = libpng12
 PNGMAJ = 0
-PNGMIN = 1.2.20
+PNGMIN = 1.2.34
 PNGVER = $(PNGMAJ).$(PNGMIN)
 
 # Shared library names:
@@ -79,7 +79,11 @@ libpng.a: $(OBJS)
        $(RANLIB) $@
 
 libpng.pc:
-       cat scripts/libpng.pc.in | sed -e s\!@PREFIX@!$(prefix)! > libpng.pc
+       cat scripts/libpng.pc.in | sed -e s!@prefix@!$(prefix)! \
+       -e s!@exec_prefix@!$(exec_prefix)! \
+       -e s!@libdir@!$(LIBPATH)! \
+       -e s!@includedir@!$(INCPATH)! \
+       -e s!-lpng12!-lpng12\ -lz\ -lm! > libpng.pc
 
 libpng-config:
        ( cat scripts/libpng-config-head.in; \