SOURCES: opencity-as-needed.patch (NEW) - do not use LIBS as LDFLAGS

lisu lisu at pld-linux.org
Sat Dec 8 17:04:29 CET 2007


Author: lisu                         Date: Sat Dec  8 16:04:29 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- do not use LIBS as LDFLAGS

---- Files affected:
SOURCES:
   opencity-as-needed.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/opencity-as-needed.patch
diff -u /dev/null SOURCES/opencity-as-needed.patch:1.1
--- /dev/null	Sat Dec  8 17:04:29 2007
+++ SOURCES/opencity-as-needed.patch	Sat Dec  8 17:04:24 2007
@@ -0,0 +1,19 @@
+--- opencity-0.0.5beta/configure.ac~	2007-12-08 16:54:13.000000000 +0100
++++ opencity-0.0.5beta/configure.ac	2007-12-08 16:54:09.000000000 +0100
+@@ -40,7 +40,7 @@
+ dnl Set CXXFLAGS to disable -g -O2 and support the SDL libraries check
+ 
+ CXXFLAGS="$SDL_CFLAGS"
+-LDFLAGS="$LDFLAGS $SDL_LIBS"
++LDFLAGS="$LDFLAGS"
+ 
+ AC_PROG_CXX
+ AC_LANG_CPLUSPLUS
+@@ -62,7 +62,6 @@
+ 
+         if test "x$SDL_mixer_h" = "xyes"; then
+                 if test "x$SDL_mixer_lib" = "xyes"; then
+-                        LDFLAGS="$LDFLAGS -lSDL_mixer"
+                         AC_DEFINE(AUDIO_SDL, 1, [SDL_Mixer support])
+                         AC_MSG_RESULT(yes)
+                 else
================================================================


More information about the pld-cvs-commit mailing list