aboutsummaryrefslogtreecommitdiff
path: root/crypto/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/CMakeLists.txt')
-rw-r--r--crypto/CMakeLists.txt5
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)
819endif() 819endif()
820 820
821if(NOT HAVE_GETOPT)
822 set(CRYPTO_SRC ${CRYPTO_SRC} compat/getopt_long.c)
823 set(EXTRA_EXPORT ${EXTRA_EXPORT} getopt)
824endif()
825
821if(NOT HAVE_GETPAGESIZE) 826if(NOT HAVE_GETPAGESIZE)
822 set(CRYPTO_SRC ${CRYPTO_SRC} compat/getpagesize.c) 827 set(CRYPTO_SRC ${CRYPTO_SRC} compat/getpagesize.c)
823endif() 828endif()