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 <[email protected]>
---
 src/ui/gui/automake.mk      |    1 +
 src/ui/terminal/automake.mk |    1 +
 2 files changed, 2 insertions(+)

diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk
index 75ca28a..e6aaf57 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 7bf2e6f..82f9ef8 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)
-- 
1.7.9.3


_______________________________________________
pspp-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to