summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-24 16:58:27 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-24 16:58:27 +0100
commitd22243e8cd54c1c5de6c670445395907007428ea (patch)
tree90b7aa449f9f1367b3e11de2a508d848350b544b /cscript
parent3a05b2ea7ed62ca5a6ef55bcc90efeed84c5bbf1 (diff)
Try to fix non-5 centos builds.
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index 69ba00418..7a3f3b3bb 100644
--- a/cscript
+++ b/cscript
@@ -207,7 +207,7 @@ def make_spec(filename, version, target):
if target.distro == 'centos' and target.version == '5':
prefix = 'BUILDROOT/usr'
else:
- prefix = '%%{buildroot}/usr'
+ prefix = '%{buildroot}/usr'
print('CXXFLAGS="-I%s/include" LDFLAGS="-L%s/lib" ./waf configure --prefix=%s --install-prefix=/usr %s' %
(target.directory, target.directory, prefix, configure_options(target)), file=f)