aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/CMakeLists.txt5
-rw-r--r--crypto/Makefile.am4
2 files changed, 9 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index d8e1ddb..41dc37b 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -714,6 +714,11 @@ if(NOT HAVE_STRNDUP)
714 endif() 714 endif()
715endif() 715endif()
716 716
717if(NOT HAVE_STRSEP)
718 set(CRYPTO_SRC ${CRYPTO_SRC} compat/strsep.c)
719 set(EXTRA_EXPORT ${EXTRA_EXPORT} strsep)
720endif()
721
717if(NOT HAVE_TIMEGM) 722if(NOT HAVE_TIMEGM)
718 set(CRYPTO_SRC ${CRYPTO_SRC} compat/timegm.c) 723 set(CRYPTO_SRC ${CRYPTO_SRC} compat/timegm.c)
719 set(EXTRA_EXPORT ${EXTRA_EXPORT} timegm) 724 set(EXTRA_EXPORT ${EXTRA_EXPORT} timegm)
diff --git a/crypto/Makefile.am b/crypto/Makefile.am
index 1332c24..26def2a 100644
--- a/crypto/Makefile.am
+++ b/crypto/Makefile.am
@@ -73,6 +73,10 @@ libcompat_la_SOURCES += compat/strnlen.c
73endif 73endif
74endif 74endif
75 75
76if !HAVE_STRSEP
77libcompat_la_SOURCES += compat/strsep.c
78endif
79
76if !HAVE_ASPRINTF 80if !HAVE_ASPRINTF
77libcompat_la_SOURCES += compat/bsd-asprintf.c 81libcompat_la_SOURCES += compat/bsd-asprintf.c
78endif 82endif