devel/libtool: Fix cross compiled packages

The libtool script is generated for a given compiler so Poudriere cannot
use a cross compiler.

lang/python* ports have a similar problem.

PR:		230018
This commit is contained in:
Tijl Coosemans
2022-04-08 16:31:53 +02:00
parent 4a51f972d1
commit 5325ea5ae1
+7
View File
@@ -19,4 +19,11 @@ TEST_TARGET= check
NO_ARCH= yes
INFO= libtool
.if "${CC}" == "/nxb-bin/usr/bin/cc"
# Generate libtool script for the native compiler, not the cross compiler.
CC= cc
CXX= c++
LD= ld
.endif
.include <bsd.port.mk>