summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/pkgconfig/pkgconfig-0.29.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-util/pkgconfig/pkgconfig-0.29.ebuild b/dev-util/pkgconfig/pkgconfig-0.29.ebuild
index 04c55012806..987e3b7b1ad 100644
--- a/dev-util/pkgconfig/pkgconfig-0.29.ebuild
+++ b/dev-util/pkgconfig/pkgconfig-0.29.ebuild
@@ -63,6 +63,10 @@ multilib_src_configure() {
# add the libdir for libtool, otherwise it'll make love with system
# installed libiconv
append-ldflags "-L${EPREFIX}/usr/$(get_libdir)"
+ # the glib objects reference symbols from these frameworks,
+ # not good, esp. since Carbon should be deprecated
+ [[ ${CHOST} == *-darwin* ]] && \
+ append-ldflags -framework CoreFoundation -framework Carbon
fi
else
if ! has_version dev-util/pkgconfig; then