aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorDaniel Seither <[email protected]>2015-09-25 14:06:26 +0200
committerDaniel Seither <[email protected]>2015-09-25 14:06:26 +0200
commit84fc298cce26305f7eae59ce59a82ebd9801a04e (patch)
treec8dffbe7056e5725c9007c8ba31017af215ae8bc /src/build-data
parentdd743cef685c232ff8b981fec0f01bd8532c2c76 (diff)
build system: Add framework support for OS X and iOS
On Darwin platforms, there are frameworks that can bundle libraries and header files in a standardized directory structure. We need to support linking to them because most of the OS X or iOS-specific APIs are provided as frameworks.
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/cc/clang.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 0fbc67ce9..129218dcd 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -6,6 +6,7 @@ output_to_option "-o "
add_include_dir_option -I
add_lib_dir_option -L
add_lib_option -l
+add_framework_option "-framework "
lang_flags "-std=c++11 -D_REENTRANT -fstack-protector"