summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-17 13:23:53 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-17 13:23:53 +0100
commit3b1afd9479b20b0374d8fa370f82b806b4465a6d (patch)
treeac53bca1b017f354b5fc2a29e5a4849f866808db /cscript
parent77c46d57b694506e0834244dde1616c63771f0e6 (diff)
Add paths.
Diffstat (limited to 'cscript')
-rw-r--r--cscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/cscript b/cscript
index 18837ad8..f5590c55 100644
--- 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))
+