4bb30370dd
This way there's no need to set LDFLAGS per-pkg just to fix cross compilation in multiple packages.
6 lines
168 B
Bash
6 lines
168 B
Bash
if [ -n "$CROSS_BUILD" ]; then
|
|
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include"
|
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include"
|
|
LDFLAGS+=" -L${XBPS_CROSS_BASE}/usr/lib"
|
|
fi
|