From 80eb1454604f71fdcbb17c7fb73bade22031ef81 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 13 Dec 2022 05:44:07 -0600 Subject: add direct source dependency to each library Fix library generation with some CMake generators by including a direct source file dependency for each library. --- ssl/CMakeLists.txt | 2 +- ssl/Makefile.am | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'ssl') diff --git a/ssl/CMakeLists.txt b/ssl/CMakeLists.txt index 4c7357a..173c3b5 100644 --- a/ssl/CMakeLists.txt +++ b/ssl/CMakeLists.txt @@ -79,7 +79,7 @@ target_include_directories(bs_obj if(BUILD_SHARED_LIBS) add_library(ssl $ $) else() - add_library(ssl $) + add_library(ssl $ empty.c) endif() export_symbol(ssl ${CMAKE_CURRENT_SOURCE_DIR}/ssl.sym) diff --git a/ssl/Makefile.am b/ssl/Makefile.am index 6591ffa..a2155fb 100644 --- a/ssl/Makefile.am +++ b/ssl/Makefile.am @@ -15,6 +15,7 @@ noinst_DATA = remove_bs_objects EXTRA_DIST = VERSION EXTRA_DIST += CMakeLists.txt EXTRA_DIST += ssl.sym +EXTRA_DIST += empty.c CLEANFILES = libssl_la_objects.mk -- cgit v1.2.3-55-g6feb