LDFLAGS fix on non-supported platforms

This commit is contained in:
Grant Limberg 2022-02-03 11:30:39 -08:00
parent 3c0adde0c7
commit cfae20e0df
No known key found for this signature in database
GPG Key ID: 2BA62CCABBB4095A

View File

@ -41,10 +41,12 @@ else
override DEFS+=-DZT_USE_SYSTEM_NATPMP
endif
ifeq ($(ZT_DEBUG),1)
LDLIBS+=zeroidc/target/debug/libzeroidc.a -ldl -lssl -lcrypto
else
LDLIBS+=zeroidc/target/release/libzeroidc.a -ldl -lssl -lcrypto
ifeq ($(ZT_SSO_SUPPORTED), 1)
ifeq ($(ZT_DEBUG),1)
LDLIBS+=zeroidc/target/debug/libzeroidc.a -ldl -lssl -lcrypto
else
LDLIBS+=zeroidc/target/release/libzeroidc.a -ldl -lssl -lcrypto
endif
endif
# Use bundled http-parser since distribution versions are NOT API-stable or compatible!