X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fclearlooks-newer%2Fwscript;h=36637971b1d03c384454c2c7944b736b3d6bf9c7;hb=d7ec204bf67ced9c3fb8ba41bdbd73af356fb1c8;hp=e0e5d5fb8a4f5b24a2e6f3e4dcda225480e6294a;hpb=7000afdc66c9e0ae8dcf9ec080517dabba1e7f34;p=ardour.git diff --git a/libs/clearlooks-newer/wscript b/libs/clearlooks-newer/wscript index e0e5d5fb8a..36637971b1 100644 --- a/libs/clearlooks-newer/wscript +++ b/libs/clearlooks-newer/wscript @@ -35,14 +35,14 @@ def build(bld): obj.target = 'clearlooks' obj.uselib = 'GTK' obj.includes = '.' - obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3', 'engines') + obj.install_path = os.path.join(bld.env['LIBDIR'], 'engines') autowaf.ensure_visible_symbols (obj, True) 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: + elif bld.env['build_target'] != 'mingw': # 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')