From c80e7844b7fc76de944e338dd0c2634df054cf44 Mon Sep 17 00:00:00 2001 From: Naram Qashat Date: Sat, 3 Dec 2011 19:17:41 -0500 Subject: Attempt to fix issue with modules having their link libraries in the wrong order. --- cmake/Anope.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/Anope.cmake b/cmake/Anope.cmake index 205a59631..26ed3926a 100644 --- a/cmake/Anope.cmake +++ b/cmake/Anope.cmake @@ -479,7 +479,7 @@ macro(calculate_libraries SRC SKIP SRC_LDFLAGS EXTRA_DEPENDS) endforeach(LIBRARY_PATH) # Iterate through libraries and add them to the linker flags foreach(LIBRARY ${LIBRARIES}) - set(THIS_LDFLAGS "${THIS_LDFLAGS} -l${LIBRARY}") + append_to_list(EXTRA_DEPENDENCIES "${LIBRARY}") endforeach(LIBRARY) set(${SRC_LDFLAGS} "${THIS_LDFLAGS}") set(${EXTRA_DEPENDS} "${EXTRA_DEPENDENCIES}") -- cgit