[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Add support for -weak_framework linking on Darwin
From: |
Sebastian Dröge |
Subject: |
Add support for -weak_framework linking on Darwin |
Date: |
Wed, 22 Oct 2014 13:04:43 +0200 |
Hi,
please see attached patch to add support for -weak-framework linking on
Darwin. It replicates the logic that is already there for -framework.
-weak_framework allows linking to a Framework without having a strong
dependency on it at runtime. If the Framework is not there at runtime,
all its symbols are going to be NULL.
I'm not sure if the patch is 100% correct, please review. It works for
me in a project which fails to link otherwise as the dependency_libs /
inherited linker flags are not containing the -weak_frameworks but only
the -frameworks.
Best regards,
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
0001-Add-support-for-weak_framework-linking-on-Darwin.patch
Description: Text Data
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Add support for -weak_framework linking on Darwin,
Sebastian Dröge <=