X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fbundle_env_mingw.cc;h=0d977cabbaa2d07efd7d2a4dfee13c27dd06d9a5;hb=c912bd61ae49cc79158f3322439c29b27ef51de8;hp=f53c461299f8fc878310f1ee2f53fdc633b32981;hpb=91fac4c96dc6210dcc056da70dc608700d7eb570;p=ardour.git diff --git a/gtk2_ardour/bundle_env_mingw.cc b/gtk2_ardour/bundle_env_mingw.cc index f53c461299..0d977cabba 100644 --- a/gtk2_ardour/bundle_env_mingw.cc +++ b/gtk2_ardour/bundle_env_mingw.cc @@ -123,6 +123,15 @@ fixup_bundle_environment (int, char* [], string & localedir) Glib::setenv ("VAMP_PATH", path, true); Glib::setenv ("SUIL_MODULE_DIR", Glib::build_filename(ardour_dll_directory(), "suil"), true); + + /* XXX this should really be PRODUCT_EXE see tools/x-win/package.sh + * ardour on windows does not have a startup wrapper script. + * + * then again, there's probably nobody using NSM on windows. + * because neither nsmd nor the GUI is currently available for windows. + * furthermore it'll be even less common for derived products. + */ + Glib::setenv ("ARDOUR_SELF", Glib::build_filename(ardour_dll_directory(), "ardour.exe"), true); } static __cdecl void