Fix DSO linking issue 20120416030503/pspp
authorPeter Lemenkov <lemenkov@gmail.com>
Sun, 15 Apr 2012 16:09:59 +0000 (20:09 +0400)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 15 Apr 2012 23:23:24 +0000 (16:23 -0700)
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 <lemenkov@gmail.com>
src/ui/gui/automake.mk
src/ui/terminal/automake.mk

index 75ca28a7133229054de674edd3e347ab9f2d3f6d..e6aaf57dafcf68f094ef75dc123275c18a07dc94 100644 (file)
@@ -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) \
index 7bf2e6fc36dc30b3ddc3e71f4761c0a820072048..82f9ef80754709e90dedfd19cd59e575ecb9ec43 100644 (file)
@@ -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)