diff options
-rwxr-xr-x | util/collect2 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/util/collect2 b/util/collect2 index b0c861cc3..e5226ac71 100755 --- a/util/collect2 +++ b/util/collect2 @@ -40,7 +40,7 @@ if [[ "${darwin+@}" ]]; then flags=("${flags[@]}"$({ echo "${PKG_PATH}" | tr ':' $'\n' - for DEP_NAME in libgcc sqlite3; do + for DEP_NAME in libgcc libxml2 sqlite3; do echo "$(PKG_DEST_ "${DEP_NAME}")" done } | while read -r path; do @@ -49,10 +49,8 @@ if [[ "${darwin+@}" ]]; then echo -n " -dylib_file ${dylib_name}:${dylib_file}" done - echo -n " -dylib_file /usr/lib/libxml2.2.dylib:$(PKG_DEST_ libxml2)/usr/lib/libxml2.2.dylib" echo -n " -dylib_file /usr/lib/libssl.0.9.7.dylib:$(PKG_DEST_ openssl)/usr/lib/libssl.0.9.8.dylib" echo -n " -dylib_file /usr/lib/libcrypto.0.9.7.dylib:$(PKG_DEST_ openssl)/usr/lib/libcrypto.0.9.8.dylib" - echo -n " -dylib_file /usr/lib/libsqlite3.0.dylib:$(PKG_DEST_ sqlite3)/usr/lib/libsqlite3.0.dylib" done)) fi fi |