From 04c0c46c73742d325948b35072da501e07b7ba57 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 29 Apr 2024 22:41:37 +0200 Subject: Don't "pollute" the library path with /usr/local/lib. Sometimes we don't want to use the stuff in there. --- cscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cscript') 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 = [] -- cgit v1.2.3