diff options
Diffstat (limited to 'crypto/CMakeLists.txt')
-rw-r--r-- | crypto/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 0c86dd4..3fb2285 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
@@ -818,6 +818,11 @@ if(NOT HAVE_FREEZERO) | |||
818 | set(EXTRA_EXPORT ${EXTRA_EXPORT} freezero) | 818 | set(EXTRA_EXPORT ${EXTRA_EXPORT} freezero) |
819 | endif() | 819 | endif() |
820 | 820 | ||
821 | if(NOT HAVE_GETOPT) | ||
822 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/getopt_long.c) | ||
823 | set(EXTRA_EXPORT ${EXTRA_EXPORT} getopt) | ||
824 | endif() | ||
825 | |||
821 | if(NOT HAVE_GETPAGESIZE) | 826 | if(NOT HAVE_GETPAGESIZE) |
822 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/getpagesize.c) | 827 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/getpagesize.c) |
823 | endif() | 828 | endif() |