]> git.saurik.com Git - wxWidgets.git/blobdiff - src/png/scripts/makefile.hpux
fixing utf32 native conversion
[wxWidgets.git] / src / png / scripts / makefile.hpux
index 5fed4d27eda78f119dda2eaeab54c9a1d388ce1f..d1bc5ef254113f708b8ff068209fdef42f2eb836 100644 (file)
@@ -18,7 +18,7 @@ ZLIBINC=/opt/zlib/include
 # Library name:
 LIBNAME = libpng12
 PNGMAJ = 0
-PNGMIN = 1.2.20
+PNGMIN = 1.2.34
 PNGVER = $(PNGMAJ).$(PNGMIN)
 
 # Shared library names:
@@ -83,7 +83,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; \