summaryrefslogtreecommitdiff
path: root/gtk2_ardour/bundle_env_linux.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-07-18 16:45:45 +0200
committerRobin Gareus <robin@gareus.org>2016-07-18 16:46:59 +0200
commit004b57e9f67c6b818357759005c8e53b041dead4 (patch)
tree59f6b6309d18bc62bd3a3fa2c455574259e5b80e /gtk2_ardour/bundle_env_linux.cc
parent1dcb54ba22fc84883512ac332cd45e14b5bf9e1b (diff)
ArdourCurl: prepare to unify various curl calls
mainly motivated by a central location to setup SSL.
Diffstat (limited to 'gtk2_ardour/bundle_env_linux.cc')
-rw-r--r--gtk2_ardour/bundle_env_linux.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk2_ardour/bundle_env_linux.cc b/gtk2_ardour/bundle_env_linux.cc
index e553213ec0..80830964b4 100644
--- a/gtk2_ardour/bundle_env_linux.cc
+++ b/gtk2_ardour/bundle_env_linux.cc
@@ -36,6 +36,7 @@
#include "pbd/pathexpand.h"
#include "pbd/file_utils.h"
+#include "ardour_http.h"
#include "bundle_env.h"
#include "pbd/i18n.h"
@@ -110,11 +111,12 @@ fixup_bundle_environment (int /*argc*/, char* argv[], string & localedir)
error << _("No fontconfig file found on your system. Things may looked very odd or ugly") << endmsg;
}
- /* this doesn't do much but setting it should prevent various parts of the GTK/GNU stack
- from looking outside the bundle to find the charset.alias file.
- */
- g_setenv ("CHARSETALIASDIR", dir_path.c_str(), 1);
+ /* this doesn't do much but setting it should prevent various parts of the GTK/GNU stack
+ from looking outside the bundle to find the charset.alias file.
+ */
+ g_setenv ("CHARSETALIASDIR", dir_path.c_str(), 1);
+ ArdourCurl::HttpGet::setup_certificate_paths ();
}
void