gnucash unstable: Add DL_LIBS to gncmod-gnome-utils target.

John Ralls jralls at code.gnucash.org
Sun Jan 28 19:00:18 EST 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/86226723 (commit)
	from  https://github.com/Gnucash/gnucash/commit/83128e2f (commit)



commit 8622672343cb2f1c0c263e0f0aa554baa904b38d
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Jan 28 16:00:03 2018 -0800

    Add DL_LIBS to gncmod-gnome-utils target.

diff --git a/gnucash/gnome-utils/CMakeLists.txt b/gnucash/gnome-utils/CMakeLists.txt
index 5863ba0..b437dc3 100644
--- a/gnucash/gnome-utils/CMakeLists.txt
+++ b/gnucash/gnome-utils/CMakeLists.txt
@@ -221,7 +221,7 @@ ADD_LIBRARY (gncmod-gnome-utils
 )
 
 TARGET_LINK_LIBRARIES(gncmod-gnome-utils gncmod-app-utils gncmod-engine gnc-backend-xml-utils
-     ${GTK3_LDFLAGS} ${GTK_MAC_LDFLAGS})
+     ${CMAKE_DL_LIBS} ${GTK3_LDFLAGS} ${GTK_MAC_LDFLAGS})
 
 TARGET_COMPILE_DEFINITIONS(gncmod-gnome-utils PUBLIC ${GTK_MAC_CFLAGS_OTHER}
     PRIVATE -DG_LOG_DOMAIN=\"gnc.gui\")



Summary of changes:
 gnucash/gnome-utils/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list