Add paths.
authorCarl Hetherington <cth@carlh.net>
Wed, 17 Apr 2013 12:23:53 +0000 (13:23 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 17 Apr 2013 12:23:53 +0000 (13:23 +0100)
cscript

diff --git a/cscript b/cscript
index 18837ad861247dc28253bedf1d96a6f2cd7cb45c..f5590c554b4e9d953a0a199c2fc765a31c1a07d2 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,5 +1,6 @@
 release_targets = ['source']
 
 def build(prefix):
-    command('./waf configure --prefix=%s build install' % prefix)
+    command('CXXFLAGS=-I%s/include LINKFLAGS=-L%s/lib PKG_CONFIG_PATH=%s/lib/pkgconfig ./waf configure --prefix=%s build install' % (prefix, prefix, prefix, prefix))
+