Skip to content

Commit 63e3f5b

Browse files
committed
Disable pkg-config via environment variable
Set PKG_CONFIG=false before running configure and remove the --without-pkg-config flag. This forces the configure script to act as if pkg-config is unavailable (helpful for cross-compilation or environments without pkg-config) and avoids passing the configure-specific option. Build and install steps remain unchanged.
1 parent ae7c6f7 commit 63e3f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/flet-libcurl/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ ! -f "$OPENSSL_PREFIX/include/openssl/ssl.h" ] || \
88
OPENSSL_PREFIX="$PYTHON_PREFIX"
99
fi
1010

11-
./configure --host=$HOST_TRIPLET --prefix=$PREFIX --with-openssl="$OPENSSL_PREFIX" --without-pkg-config
11+
PKG_CONFIG=false ./configure --host=$HOST_TRIPLET --prefix=$PREFIX --with-openssl="$OPENSSL_PREFIX"
1212
make -j $CPU_COUNT
1313
make install
1414

0 commit comments

Comments
 (0)