[gitg] libgitg: fix linking on macOS
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] libgitg: fix linking on macOS
- Date: Wed, 24 Oct 2018 08:10:22 +0000 (UTC)
commit 67f2d202d5bc323716da0c7690767ea08a1a42b4
Author: Tom Schoonjans <Tom Schoonjans diamond ac uk>
Date: Wed Oct 24 08:28:26 2018 +0100
libgitg: fix linking on macOS
libgitg/meson.build | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/libgitg/meson.build b/libgitg/meson.build
index f7424960..85cebf87 100644
--- a/libgitg/meson.build
+++ b/libgitg/meson.build
@@ -112,14 +112,9 @@ if gdk_targets.contains('quartz')
sources += files('gitg-platform-support-osx.c')
deps += [
dependency('gio-unix-2.0'),
- find_library('objc'),
+ dependency('appleframeworks', modules : ['foundation', 'appkit'])
]
cflags += '-xobjective-c'
-
- ldflags += cc.get_supported_link_arguments([
- '-framework Foundation',
- '-framework AppKit',
- ])
elif gdk_targets.contains('win32')
sources += files('gitg-platform-support-win32.c')
deps += dependency('gio-windows-2.0')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]