Skip to content

Commit

Permalink
Merge pull request #9 from PatTheMav/mbedtls-lib-fix
Browse files Browse the repository at this point in the history
Fix mbedtls directory references
  • Loading branch information
DDRBoxman authored Apr 6, 2020
2 parents 2820a7b + 4c37b08 commit a18f2a7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions build-package-deps-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,15 @@ build_mbedtls() {
make -j
make install
find /tmp/obsdeps/lib -name libmbed\*.dylib -exec cp \{\} ${DEPS_DEST}/bin/ \;
install_name_tool -id ${DEPS_DEST}/bin/libmbedtls.12.dylib ${DEPS_DEST}/bin/libmbedtls.12.dylib
install_name_tool -id ${DEPS_DEST}/bin/libmbedcrypto.3.dylib ${DEPS_DEST}/bin/libmbedcrypto.3.dylib
install_name_tool -id ${DEPS_DEST}/bin/libmbedx509.0.dylib ${DEPS_DEST}/bin/libmbedx509.0.dylib
install_name_tool -change libmbedtls.12.dylib ${DEPS_DEST}/bin/libmbedtls.12.dylib ${DEPS_DEST}/bin/libmbedcrypto.3.dylib
install_name_tool -change libmbedx509.0.dylib ${DEPS_DEST}/bin/libmbedx509.0.dylib ${DEPS_DEST}/bin/libmbedx509.0.dylib
install_name_tool -change libmbedcrypto.3.dylib ${DEPS_DEST}/bin/libmbedcrypto.3.dylib ${DEPS_DEST}/bin/libmbedx509.0.dylib
install_name_tool -change libmbedtls.12.dylib ${DEPS_DEST}/bin/libmbedtls.12.dylib ${DEPS_DEST}/bin/libmbedtls.12.dylib
install_name_tool -change libmbedx509.0.dylib ${DEPS_DEST}/bin/libmbedx509.0.dylib ${DEPS_DEST}/bin/libmbedtls.12.dylib
install_name_tool -change libmbedcrypto.3.dylib ${DEPS_DEST}/bin/libmbedcrypto.3.dylib ${DEPS_DEST}/bin/libmbedtls.12.dylib
install_name_tool -id /tmp/obsdeps/bin/libmbedtls.12.dylib ${DEPS_DEST}/bin/libmbedtls.12.dylib
install_name_tool -id /tmp/obsdeps/bin/libmbedcrypto.3.dylib ${DEPS_DEST}/bin/libmbedcrypto.3.dylib
install_name_tool -id /tmp/obsdeps/bin/libmbedx509.0.dylib ${DEPS_DEST}/bin/libmbedx509.0.dylib
install_name_tool -change libmbedtls.12.dylib /tmp/obsdeps/bin/libmbedtls.12.dylib ${DEPS_DEST}/bin/libmbedcrypto.3.dylib
install_name_tool -change libmbedx509.0.dylib /tmp/obsdeps/bin/libmbedx509.0.dylib ${DEPS_DEST}/bin/libmbedx509.0.dylib
install_name_tool -change libmbedcrypto.3.dylib /tmp/obsdeps/bin/libmbedcrypto.3.dylib ${DEPS_DEST}/bin/libmbedx509.0.dylib
install_name_tool -change libmbedtls.12.dylib /tmp/obsdeps/bin/libmbedtls.12.dylib ${DEPS_DEST}/bin/libmbedtls.12.dylib
install_name_tool -change libmbedx509.0.dylib /tmp/obsdeps/bin/libmbedx509.0.dylib ${DEPS_DEST}/bin/libmbedtls.12.dylib
install_name_tool -change libmbedcrypto.3.dylib /tmp/obsdeps/bin/libmbedcrypto.3.dylib ${DEPS_DEST}/bin/libmbedtls.12.dylib
rsync -avh --include="*/" --include="*.h" --exclude="*" ./include/mbedtls/* ${DEPS_DEST}/include/mbedtls
rsync -avh --include="*/" --include="*.h" --exclude="*" ../include/mbedtls/* ${DEPS_DEST}/include/mbedtls
if ! [ -d /tmp/obsdeps/lib/pkgconfig ]; then
Expand Down

0 comments on commit a18f2a7

Please sign in to comment.