diff options
author | Fabian Groffen <grobian@gentoo.org> | 2016-01-22 18:39:48 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2016-01-22 18:48:14 +0100 |
commit | 9d803e13a72e78740106d8814645b86ee5977366 (patch) | |
tree | a3a2dba4b3d0c711c55750278aacc8f707537fa1 /dev-util/pkgconfig | |
parent | sys-fs/dislocker: some more quoting and escaping... (diff) | |
download | gentoo-9d803e13a72e78740106d8814645b86ee5977366.tar.gz gentoo-9d803e13a72e78740106d8814645b86ee5977366.tar.bz2 gentoo-9d803e13a72e78740106d8814645b86ee5977366.zip |
dev-util/pkgconfig: add necessary frameworks for Darwin
Package-Manager: portage-2.2.20-prefix
Diffstat (limited to 'dev-util/pkgconfig')
-rw-r--r-- | dev-util/pkgconfig/pkgconfig-0.29.ebuild | 4 |
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 04c55012806c..987e3b7b1ad1 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 |