diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/CMakeLists.txt | 5 | ||||
-rw-r--r-- | crypto/Makefile.am | 4 |
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() |
715 | endif() | 715 | endif() |
716 | 716 | ||
717 | if(NOT HAVE_STRSEP) | ||
718 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/strsep.c) | ||
719 | set(EXTRA_EXPORT ${EXTRA_EXPORT} strsep) | ||
720 | endif() | ||
721 | |||
717 | if(NOT HAVE_TIMEGM) | 722 | if(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 | |||
73 | endif | 73 | endif |
74 | endif | 74 | endif |
75 | 75 | ||
76 | if !HAVE_STRSEP | ||
77 | libcompat_la_SOURCES += compat/strsep.c | ||
78 | endif | ||
79 | |||
76 | if !HAVE_ASPRINTF | 80 | if !HAVE_ASPRINTF |
77 | libcompat_la_SOURCES += compat/bsd-asprintf.c | 81 | libcompat_la_SOURCES += compat/bsd-asprintf.c |
78 | endif | 82 | endif |