Skip to content

Commit

Permalink
dev-util/pkgconfig: add necessary frameworks for Darwin
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20-prefix
  • Loading branch information
grobian committed Jan 22, 2016
1 parent 51990f4 commit 9d803e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev-util/pkgconfig/pkgconfig-0.29.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d803e1

Please sign in to comment.