summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaco Kroon <jaco@uls.co.za>2020-07-07 22:19:45 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-07-20 12:01:20 +0300
commite60793bb055448f0933c709034185fc45d5cb363 (patch)
treee3a110681a2791ae6845e35936e0d7bbbe099510 /net-libs/pjproject
parentmedia-gfx/openscad: remove unneeded patch (diff)
downloadgentoo-e60793bb055448f0933c709034185fc45d5cb363.tar.gz
gentoo-e60793bb055448f0933c709034185fc45d5cb363.tar.bz2
gentoo-e60793bb055448f0933c709034185fc45d5cb363.zip
net-libs/pjproject: fix invalid LD build issue.
Closes: https://bugs.gentoo.org/725090 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/16630 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-libs/pjproject')
-rw-r--r--net-libs/pjproject/pjproject-2.9-r2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-libs/pjproject/pjproject-2.9-r2.ebuild b/net-libs/pjproject/pjproject-2.9-r2.ebuild
index abce401573e3..93f9598c5b04 100644
--- a/net-libs/pjproject/pjproject-2.9-r2.ebuild
+++ b/net-libs/pjproject/pjproject-2.9-r2.ebuild
@@ -78,7 +78,7 @@ src_configure() {
[ "${videnable}" = "--enable-video" ] && append-cflags -DPJMEDIA_HAS_VIDEO=1
- econf \
+ LD="$(tc-getCC)" econf \
--enable-shared \
--with-external-srtp \
${videnable} \
@@ -101,8 +101,8 @@ src_configure() {
}
src_compile() {
- emake dep
- emake
+ emake dep LD="$(tc-getCC)"
+ emake LD="$(tc-getCC)"
}
src_install() {