gnucash master: Link libgncmod-app-utils-python to libgncmod-app-utils.
John Ralls
jralls at code.gnucash.org
Sun Sep 10 21:26:49 EDT 2017
Updated via https://github.com/Gnucash/gnucash/commit/465f24af (commit)
from https://github.com/Gnucash/gnucash/commit/556f7037 (commit)
commit 465f24af2e01629398381c3ad1ccd57baa47b3b6
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Sep 10 18:20:42 2017 -0700
Link libgncmod-app-utils-python to libgncmod-app-utils.
Instead of building libgncmod-app-utils-python as a stand-alone library
because gncmod-app-utils.c can be compiled only with guile thanks to
declaring scm_init_sw_app_utils_module. Linux linkers will just mark it
'U' but the MacOS linker errors out.
diff --git a/libgnucash/app-utils/CMakeLists.txt b/libgnucash/app-utils/CMakeLists.txt
index 94e1da8..795ccea 100644
--- a/libgnucash/app-utils/CMakeLists.txt
+++ b/libgnucash/app-utils/CMakeLists.txt
@@ -106,9 +106,9 @@ INSTALL(TARGETS gncmod-app-utils
)
IF (WITH_PYTHON)
- ADD_LIBRARY (gncmod-app-utils-python ${app_utils_ALL_SOURCES} ${SWIG_APP_UTILS_PYTHON_C})
+ ADD_LIBRARY (gncmod-app-utils-python ${SWIG_APP_UTILS_PYTHON_C})
- TARGET_LINK_LIBRARIES(gncmod-app-utils-python ${app_utils_ALL_LIBRARIES} ${PYTHON_LIBRARIES})
+ TARGET_LINK_LIBRARIES(gncmod-app-utils-python gncmod-app-utils ${app_utils_ALL_LIBRARIES} ${PYTHON_LIBRARIES})
TARGET_INCLUDE_DIRECTORIES (gncmod-app-utils-python
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
Summary of changes:
libgnucash/app-utils/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the gnucash-changes
mailing list