summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-29 22:41:37 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-01 10:01:30 +0200
commit04c0c46c73742d325948b35072da501e07b7ba57 (patch)
treebad7d30bc84b88d5244f426fe5dd6b0bf96a6728 /cscript
parentb3563f2bea0b853864dcc34acb97c2cff2a7a4d8 (diff)
Don't "pollute" the library path with /usr/local/lib.
Sometimes we don't want to use the stuff in there.
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/cscript b/cscript
index dd7f9c44a..f7a61b440 100644
--- a/cscript
+++ b/cscript
@@ -788,6 +788,8 @@ def package_rpm(target, cpu, version, options):
make_spec('dcpomatic2.spec', version, target, options, requires)
cmd = 'rpmbuild --define "_topdir %s" -bb dcpomatic2.spec' % topdir
+ # On Centos 7 we build and install boost ourselves, so we must look for it in the right place
+ target.set('LINKFLAGS', '-L/usr/local/lib')
target.command(cmd)
rpms = []