X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=f49b491082ce3c90cb2b6d5a9c7e3cc28a39b9be;hb=d1957e43ef4a3966e35b9f28b8faf96e925d2310;hp=bee03cb0cc1d94a4f856546124940e5e5c19545b;hpb=73f12506b092200418ce20d9ec70bf646d248f5d;p=dcpomatic.git diff --git a/wscript b/wscript index bee03cb0c..f49b49108 100644 --- a/wscript +++ b/wscript @@ -199,8 +199,6 @@ def configure(conf): 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') - if not conf.env.DISABLE_GUI: - conf.check_cfg(package='gtk+-2.0', args='--cflags --libs', uselib_store='GTK', mandatory=True) # OSX if conf.env.TARGET_OSX: @@ -394,8 +392,9 @@ def configure(conf): if conf.options.enable_disk: if conf.check_cfg(package='nanomsg', args='--cflags --libs', uselib_store='NANOMSG', mandatory=False) is None: conf.check_cfg(package='libnanomsg', args='--cflags --libs', uselib_store='NANOMSG', mandatory=True) - # We link with nanomsg statically on Centos 8 so we need to link this as well - conf.env.LIB_NANOMSG.append('anl') + if conf.env.TARGET_LINUX: + # We link with nanomsg statically on Centos 8 so we need to link this as well + conf.env.LIB_NANOMSG.append('anl') # FFmpeg if conf.options.static_ffmpeg: