summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-27 20:05:48 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-27 20:05:48 +0200
commitb5a88d757874fc7b7fecb15447c52fb40930e2ca (patch)
treee693f53a9b79b3343cd26d6895b99ac6946120c5 /wscript
parentba7684b62d762345c337b67be48cd18e2cdc5dc5 (diff)
Revert some of the Linux stuff from a few commits ago.
This fixes startup from the source tree.
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index 1ac069f0b..00665bbac 100644
--- a/wscript
+++ b/wscript
@@ -198,6 +198,7 @@ def configure(conf):
if conf.env.TARGET_LINUX:
conf.env.append_value('CXXFLAGS', '-mfpmath=sse')
conf.env.append_value('CXXFLAGS', '-DLINUX_LOCALE_PREFIX="%s/share/locale"' % conf.env['INSTALL_PREFIX'])
+ conf.env.append_value('CXXFLAGS', '-DLINUX_SHARE_PREFIX="%s/share"' % conf.env['INSTALL_PREFIX'])
conf.env.append_value('CXXFLAGS', '-DDCPOMATIC_LINUX')
conf.env.append_value('CXXFLAGS', ['-Wlogical-op', '-Wcast-align'])
conf.check(lib='dl', uselib_store='DL', msg='Checking for library dl')