mail[Wesnoth-commits] r34183 - /trunk/scons/pkgconfig.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by loonycyborg on March 27, 2009 - 13:26:
Author: loonycyborg
Date: Fri Mar 27 13:26:19 2009
New Revision: 34183

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34183&view=rev
Log:
Silence pkg-config errors.

Modified:
    trunk/scons/pkgconfig.py

Modified: trunk/scons/pkgconfig.py
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/scons/pkgconfig.py?rev=34183&r1=34182&r2=34183&view=diff
==============================================================================
--- trunk/scons/pkgconfig.py (original)
+++ trunk/scons/pkgconfig.py Fri Mar 27 13:26:19 2009
@@ -5,7 +5,7 @@
 def run_pkg_config(env, name):
     try:
         env["ENV"]["PKG_CONFIG_PATH"] = os.environ.get("PKG_CONFIG_PATH")
-        env.ParseConfig("pkg-config --libs --cflags $PKGCONFIG_FLAGS \"" + 
name + "\"")
+        env.ParseConfig("pkg-config --libs --cflags --silence-errors 
$PKGCONFIG_FLAGS \"" + name + "\"")
         return True
     except OSError:
         return False




Related Messages


Powered by MHonArc, Updated Fri Mar 27 15:00:39 2009