Refactor build script and configuration for compatibility with cross-compiled OpenSSL and libnl versions, disabling unnecessary EAP methods and adjusting TLS settings to reduce binary size.
This commit is contained in:
5
build.sh
5
build.sh
@@ -60,7 +60,10 @@ if [ -z "${PKG_CONFIG_LIBDIR}" ]; then
|
||||
die "No pkg-config directories found in SYSROOT"
|
||||
fi
|
||||
|
||||
export PKG_CONFIG_SYSROOT_DIR="${SYSROOT}"
|
||||
# Not setting PKG_CONFIG_SYSROOT_DIR: this SYSROOT's .pc files already bake
|
||||
# in an absolute prefix pointing inside the sysroot itself (from how libnl
|
||||
# was configured/installed), so sysroot-prefixing on top of that duplicates
|
||||
# the path (.../sysroot/.../sysroot/usr/include/...) and breaks -I/-L.
|
||||
export PKG_CONFIG_LIBDIR
|
||||
unset PKG_CONFIG_PATH
|
||||
|
||||
|
||||
Reference in New Issue
Block a user