mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-20 04:15:46 +01:00
fix location of use of EPA objects
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@8335 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c52d875701
commit
9a15daa2ed
1 changed files with 6 additions and 1 deletions
|
|
@ -30,6 +30,7 @@
|
|||
#include <pbd/textreceiver.h>
|
||||
#include <pbd/failed_constructor.h>
|
||||
#include <pbd/pthread_utils.h>
|
||||
#include <pbd/epa.h>
|
||||
|
||||
#include <jack/jack.h>
|
||||
|
||||
|
|
@ -78,6 +79,8 @@ fixup_bundle_environment (int argc, char* argv[])
|
|||
return;
|
||||
}
|
||||
|
||||
EnvironmentalProtectionAgency::set_global_epa (new EnvironmentalProtectionAgency);
|
||||
|
||||
set_language_preference ();
|
||||
|
||||
char execpath[MAXPATHLEN+1];
|
||||
|
|
@ -269,6 +272,8 @@ fixup_bundle_environment (int argc, char* argv[])
|
|||
if (!getenv ("ARDOUR_BUNDLED")) {
|
||||
return;
|
||||
}
|
||||
|
||||
global_epa = new EnvironmentalProtectionAgency;
|
||||
|
||||
Glib::ustring exec_path = argv[0];
|
||||
Glib::ustring dir_path = Glib::path_get_dirname (Glib::path_get_dirname (exec_path));
|
||||
|
|
@ -475,7 +480,7 @@ int main (int argc, char* argv[])
|
|||
#endif
|
||||
{
|
||||
vector<Glib::ustring> null_file_list;
|
||||
|
||||
|
||||
fixup_bundle_environment (argc, argv);
|
||||
|
||||
Glib::thread_init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue