From 58eb645fdba229c1b214a0ac14f7365df171b62f Mon Sep 17 00:00:00 2001 From: kinichiro Date: Sat, 28 Jan 2017 03:40:38 +0900 Subject: Copy libc compat files rather than adding into the repository - remove the CP_LIBC files from repo - move tests/memmem.c to tests/compat/ --- tests/CMakeLists.txt | 2 +- tests/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d7b73b9..91dc99a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -156,7 +156,7 @@ if(NOT CMAKE_HOST_WIN32) if(HAVE_MEMMEM) add_executable(explicit_bzero explicit_bzero.c) else() - add_executable(explicit_bzero explicit_bzero.c memmem.c) + add_executable(explicit_bzero explicit_bzero.c compat/memmem.c) endif() target_link_libraries(explicit_bzero ${TESTS_LIBS}) add_test(explicit_bzero explicit_bzero) diff --git a/tests/Makefile.am b/tests/Makefile.am index cfa5043..7c61203 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -163,7 +163,7 @@ TESTS += explicit_bzero check_PROGRAMS += explicit_bzero explicit_bzero_SOURCES = explicit_bzero.c if !HAVE_MEMMEM -explicit_bzero_SOURCES += memmem.c +explicit_bzero_SOURCES += compat/memmem.c endif endif endif -- cgit v1.2.3-55-g6feb