Skip to content

Commit

Permalink
link against shared libz
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 authored May 6, 2024
1 parent 4e1f4a9 commit 89aa64f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build_freebsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,15 @@ cmake \
-DOPENSSL_INCLUDE_DIR:PATH=${DEPSDIR}/include \
-DOPENSSL_LIBRARIES="${DEPSDIR}/lib/libssl.a;${DEPSDIR}/lib/libcrypto.a" \
-DZLIB_INCLUDE_DIR:PATH=${DEPSDIR}/include \
-DZLIB_LIBRARY:FILEPATH=${DEPSDIR}/lib/libz.a \
-DZLIB_LIBRARY:FILEPATH=${DEPSDIR}/lib/libz.so \
-DLibFFI_INCLUDE_DIR:PATH=${DEPSDIR}/include \
-DLibFFI_LIBRARY:FILEPATH=${DEPSDIR}/lib/libffi.a \
../portable-python-cmake-buildsystem
make -j4
make install

cd ${BUILDDIR}
cp ${DEPSDIR}/lib/libz.so ./python-install/lib
cp -r ${LICENSEDIR} ./python-install

echo "::endgroup::"
Expand Down

0 comments on commit 89aa64f

Please sign in to comment.