summaryrefslogtreecommitdiff
path: root/pjlib/build/os-auto.mak.in
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/build/os-auto.mak.in')
-rw-r--r--pjlib/build/os-auto.mak.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/pjlib/build/os-auto.mak.in b/pjlib/build/os-auto.mak.in
index 478cc80f..e4a7970d 100644
--- a/pjlib/build/os-auto.mak.in
+++ b/pjlib/build/os-auto.mak.in
@@ -33,4 +33,10 @@ export TEST_OBJS += @ac_main_obj@
export TARGETS = $(PJLIB_LIB) $(PJLIB_SONAME)
export TARGETS_EXE = $(TEST_EXE)
+ifeq (@ac_ssl_has_ec@,1)
+export PJLIB_CFLAGS += -DPJ_SSL_SOCK_OSSL_HAS_EC=1
+endif
+ifeq (@ac_ssl_has_sigalg@,1)
+export PJLIB_CFLAGS += -DPJ_SSL_SOCK_OSSL_HAS_SIGALG=1
+endif