X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fclearlooks-newer%2Fwscript;h=68abc4de0178e4f57080aa071b53dff5a569c16c;hb=cfe42bc4ea9a5a6234f43c173e14fdd89af39589;hp=77936ba12b7394a4ede231e40e9e96a38007c46a;hpb=c1ef7b14a3e1200817180cfaf6425e9bdf0eb51b;p=ardour.git diff --git a/libs/clearlooks-newer/wscript b/libs/clearlooks-newer/wscript index 77936ba12b..68abc4de01 100644 --- a/libs/clearlooks-newer/wscript +++ b/libs/clearlooks-newer/wscript @@ -35,13 +35,15 @@ def build(bld): obj.target = 'clearlooks' obj.uselib = 'GTK' obj.includes = '.' - obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3') + obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3', 'engines') if sys.platform == 'darwin': # Bit of a hack: make a symlink to the .dylib that meets GTK's criteria for finding it (namely that the library must be a *.so # and that it must reside in a directory called `engines') obj = bld(target = 'engines', rule = 'mkdir -p ${TGT} && rm -f ${TGT}/libclearlooks.so && ln -s ../libclearlooks.dylib ${TGT}/libclearlooks.so') - + else: + # this is a hack so that running ./ardev will work, since it sets GTK_PATH to include this dir and GTK will search {thisdir}/engines + obj = bld(target = 'engines', rule = 'mkdir -p ${TGT} && rm -f ${TGT}/libclearlooks.so && ln -s ../libclearlooks.so ${TGT}/libclearlooks.so') def shutdown(): autowaf.shutdown()