summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-15 11:03:59 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-15 11:03:59 +0100
commit43cc7893f227029db902f10ae1337d3c65a824c1 (patch)
tree39e96f5bdc422ce75486f797d0f933de03610296 /cscript
parent8b2c3658c9fadbd6e8835e5e955c7fd79d99e52a (diff)
Try to fix centos build.
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/cscript b/cscript
index 46438b0c..0cc74c0e 100644
--- a/cscript
+++ b/cscript
@@ -55,6 +55,8 @@ def build(target, options):
# I worry that this will cause ABI problems but I don't have
# a better solution.
cmd += ' --force-cpp11'
+ # pkg-config doesn't tell us that we need this; it assumes we already know
+ target.append('LINKFLAGS', '-L/usr/lib64')
if target.distro == 'mageia' and target.version == '6':
# Mageia 6 pulls the same stunt except it's libxml++ that requires C++11
cmd += ' --force-cpp11'