summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cocoa/Makefile.target2
-rw-r--r--cocoa/NetsurfApp.m2
l---------cocoa/res/ca-bundle1
3 files changed, 4 insertions, 1 deletions
diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target
index 329c8f9c6..3b9915947 100644
--- a/cocoa/Makefile.target
+++ b/cocoa/Makefile.target
@@ -125,7 +125,7 @@ EXETARGET := NetSurf
S_XIBS := MainMenu.xib Browser.xib BrowserWindow.xib DownloadWindow.xib SearchWindow.xib PreferencesWindow.xib \
HistoryWindow.xib BookmarksWindow.xib LocalHistoryPanel.xib
-R_RESOURCES := default.css adblock.css quirks.css NetSurf.icns HomeTemplate.pdf Icons
+R_RESOURCES := default.css adblock.css quirks.css NetSurf.icns HomeTemplate.pdf Icons ca-bundle
R_RESOURCES := $(addprefix cocoa/res/,$(R_RESOURCES))
LANGUAGES := de en fr it nl
diff --git a/cocoa/NetsurfApp.m b/cocoa/NetsurfApp.m
index 2b23b2107..9ab80fa1b 100644
--- a/cocoa/NetsurfApp.m
+++ b/cocoa/NetsurfApp.m
@@ -175,6 +175,8 @@ int main( int argc, char **argv )
const char * const messages = [[[NSBundle mainBundle] pathForResource: @"Messages" ofType: @""] UTF8String];
const char * const options = cocoa_get_options_file();
+ option_ca_bundle = strdup( [[[NSBundle mainBundle] pathForResource: @"ca-bundle" ofType: @""] UTF8String] );
+
netsurf_init(&argc, &argv, options, messages);
[cocoa_prepare_app() run];
diff --git a/cocoa/res/ca-bundle b/cocoa/res/ca-bundle
new file mode 120000
index 000000000..ad2dd6b55
--- /dev/null
+++ b/cocoa/res/ca-bundle
@@ -0,0 +1 @@
+../../!NetSurf/Resources/ca-bundle \ No newline at end of file