Skip to content

Commit

Permalink
add libexpat
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 authored Jun 30, 2024
1 parent 6fe9b2d commit dffbb5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/build_cosmo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ mv *portable-python-cmake-buildsystem* portable-python-cmake-buildsystem
mkdir python-build
mkdir python-install
cd python-build
LDFLAGS="${LDFLAGS} -lfontconfig -lfreetype -lexpat" cmake \
LDFLAGS="${LDFLAGS} -lfontconfig -lfreetype" cmake \
"${cmake_verbose_flags[@]}" \
-DCMAKE_C_COMPILER=${CC} \
-DCMAKE_CXX_COMPILER=${CXX} \
Expand All @@ -357,6 +357,8 @@ LDFLAGS="${LDFLAGS} -lfontconfig -lfreetype -lexpat" cmake \
-DINSTALL_MANUAL=OFF \
-DOPENSSL_INCLUDE_DIR:PATH=${DEPSDIR}/include \
-DOPENSSL_LIBRARIES="${DEPSDIR}/lib/libssl.a;${DEPSDIR}/lib/libcrypto.a" \
-DEXPAT_INCLUDE_DIRS:PATH=${DEPSDIR}/include \
-DEXPAT_LIBRARIES:FILEPATH=${DEPSDIR}/lib/libexpat.a \
-DSQLite3_INCLUDE_DIR:PATH=${DEPSDIR}/include \
-DSQLite3_LIBRARY:FILEPATH=${DEPSDIR}/lib/libsqlite3.a \
-DZLIB_INCLUDE_DIR:PATH=${DEPSDIR}/include \
Expand Down

0 comments on commit dffbb5e

Please sign in to comment.