Do not build freenull.c with LIBRESSL_INTERANL
The point of this check is to test external API...
This commit is contained in:
parent
db30748029
commit
1f997d143b
@ -350,6 +350,8 @@ endif()
|
||||
|
||||
# freenull
|
||||
add_executable(freenull freenull.c)
|
||||
set_source_files_properties(freenull.c PROPERTIES COMPILE_FLAGS
|
||||
-ULIBRESSL_INTERNAL)
|
||||
target_link_libraries(freenull ${OPENSSL_TEST_LIBS})
|
||||
add_test(freenull freenull)
|
||||
|
||||
|
@ -369,6 +369,7 @@ endif
|
||||
|
||||
# freenull
|
||||
TESTS += freenull
|
||||
freenull_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL
|
||||
check_PROGRAMS += freenull
|
||||
freenull_SOURCES = freenull.c
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user