makepanda: do not pass -Wl,--exclude-libs on macOS for OpenSSL

Part two of fix for build regression introduced in e78ce78acf5a8540cf14b57c777f52009f0df212 (see #851)
This commit is contained in:
rdb 2020-01-21 15:29:12 +01:00
parent 6b5c473b8e
commit e5b7760b85

View File

@ -1070,7 +1070,7 @@ if (COMPILER=="GCC"):
SmartPkgEnable("ZLIB", "zlib", ("z"), "zlib.h")
SmartPkgEnable("GTK2", "gtk+-2.0")
if not PkgSkip("OPENSSL"):
if not PkgSkip("OPENSSL") and GetTarget() != "darwin":
LibName("OPENSSL", "-Wl,--exclude-libs,libssl.a")
LibName("OPENSSL", "-Wl,--exclude-libs,libcrypto.a")