mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Imported from libpng-1.2.3rc6.tar
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
LIBNAME = libpng12
|
||||
PNGMAJ = 0
|
||||
PNGMIN = 1.2.3rc5
|
||||
PNGMIN = 1.2.3rc6
|
||||
PNGVER = $(PNGMAJ).$(PNGMIN)
|
||||
|
||||
CC=gcc
|
||||
@@ -77,17 +77,13 @@ libpng.pc:
|
||||
libpng-config:
|
||||
( cat scripts/libpng-config-head.in; \
|
||||
echo prefix=\"$(prefix)\"; \
|
||||
echo cppflags=\"-I$(INCPATH)/libpng12"; \
|
||||
echo cppflags=\"-I$(INCPATH)/$(LIBNAME)\"; \
|
||||
echo cflags=\"\"; \
|
||||
echo ldflags=\"-L$(LIBPATH) -Wl,-rpath,$(LIBPATH)"; \
|
||||
echo ldflags=\"-L$(LIBPATH) -Wl,-rpath,$(LIBPATH)\"; \
|
||||
echo libs=\"-lpng12 -lz -lm\"; \
|
||||
cat scripts/libpng-config-body.in ) > libpng-config
|
||||
chmod +x libpng-config
|
||||
|
||||
cat scripts/libpng-config.in | sed -e s\!@PREFIX@!$(prefix)! > \
|
||||
-e s!\#LIBS!-lm! > libpng-config
|
||||
chmod +x libpng-config
|
||||
|
||||
$(LIBNAME).so: $(LIBNAME).so.$(PNGMAJ)
|
||||
ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so
|
||||
|
||||
|
||||
Reference in New Issue
Block a user