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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user