Remove in-place translations support.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index dd7f9c44a9581449043195557331df1342edb919..f7a61b4406d29bdc6fadbc88e57dd0b9ab7c7a1e 100644 (file)
--- 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 = []