From: Peter Lemenkov Date: Sun, 15 Apr 2012 16:09:59 +0000 (+0400) Subject: Fix DSO linking issue X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=34abd8c7de0cac8efeead7fb3848427fb944b5bd Fix DSO linking issue We must explicitly list every required library in case then linker is built with default behaviour which prevents implicit DSO linking. See this for the details on DSO Linking issues: http://fedoraproject.org/wiki/UnderstandingDSOLinkChange Signed-off-by: Peter Lemenkov --- diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk index 75ca28a713..e6aaf57daf 100644 --- a/src/ui/gui/automake.mk +++ b/src/ui/gui/automake.mk @@ -73,6 +73,7 @@ src_ui_gui_psppire_LDADD = \ src/ui/libuicommon.la \ src/libpspp.la \ src/libpspp-core.la \ + $(GSL_LIBS) \ $(GTK_LIBS) \ $(GTKSOURCEVIEW_LIBS) \ $(CAIRO_LIBS) \ diff --git a/src/ui/terminal/automake.mk b/src/ui/terminal/automake.mk index 7bf2e6fc36..82f9ef8075 100644 --- a/src/ui/terminal/automake.mk +++ b/src/ui/terminal/automake.mk @@ -23,6 +23,7 @@ src_ui_terminal_pspp_LDADD = \ src/libpspp.la \ src/libpspp-core.la \ $(CAIRO_LIBS) \ + $(GSL_LIBS) \ $(NCURSES_LIBS) \ $(LIBREADLINE) \ $(GSL_LIBS)