r10937 chris_y - /trunk/libwebp/makefile

netsurf at semichrome.net netsurf at semichrome.net
Wed Nov 3 18:51:11 GMT 2010


Author: chris_y
Date: Wed Nov  3 13:51:11 2010
New Revision: 10937

URL: http://source.netsurf-browser.org?rev=10937&view=rev
Log:
Tidy up makefile.  Remove -fPIC as this is not needed for static link libraries and
causes problems with libvpx.so (credit: Michael Trebilcock)

Modified:
    trunk/libwebp/makefile

Modified: trunk/libwebp/makefile
URL: http://source.netsurf-browser.org/trunk/libwebp/makefile?rev=10937&r1=10936&r2=10937&view=diff
==============================================================================
--- trunk/libwebp/makefile (original)
+++ trunk/libwebp/makefile Wed Nov  3 13:51:11 2010
@@ -14,15 +14,14 @@
 # - limitations under the License.
 #*===========================================================================*/
 
-CC = gcc -Werror -fPIC
+CC = gcc
 AR = ar
 
 OPTIMIZE =	-O2
-OPTIONS =
+OPTIONS = -Werror -DDECLSPEC_DEPRECATED="//"
 INCLUDES =
 
 CFLAGS =	$(OPTIMIZE) $(OPTIONS)
-VPX_LIB = -lvpx -lpthread
 
 ######################################################################
 
@@ -32,7 +31,7 @@
 ######################################################################
 
 libwebp.a: libwebp.o
-	rm libwebp.a
+	rm -f libwebp.a
 	$(AR) -q libwebp.a libwebp.o
 
 libwebp.o: webpimg.c




More information about the netsurf-commits mailing list