]> git.sesse.net Git - vlc/commitdiff
* fixed libpng compilation for Darwin 9
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 4 Mar 2007 19:01:18 +0000 (19:01 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 4 Mar 2007 19:01:18 +0000 (19:01 +0000)
extras/contrib/src/Makefile

index f4dfb454a650b0ca55e6ec8980e0fd01f7f10e0f..916c57ec5319f91f289f1f8e7ebef2132af77952 100644 (file)
@@ -1503,7 +1503,7 @@ endif
 
 .png: libpng 
 ifdef HAVE_DARWIN_OS
-       (cd $<; cp scripts/makefile.darwin Makefile && make && make install)
+       (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install)
 else
 ifdef HAVE_WIN32
        (cd $<; rm -f INSTALL; cp scripts/makefile.cygwin Makefile && make $(HOSTCC) && make install-static)