Skip to content
Snippets Groups Projects
Commit 6cb12713 authored by Jannis Pohlmann's avatar Jannis Pohlmann
Browse files

Fix build with -W1,--as-needed by linking against missing libraries.

parent b67dacfd
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,8 @@ thunar_apr_la_SOURCES = \
thunar_apr_la_CFLAGS = \
$(EXIF_CFLAGS) \
$(EXO_CFLAGS) \
$(GLIB_CFLAGS) \
$(GTK_CFLAGS) \
$(PLATFORM_CFLAGS)
thunar_apr_la_LDFLAGS = \
......@@ -39,7 +41,15 @@ thunar_apr_la_LDFLAGS = \
$(PLATFORM_LDFLAGS)
thunar_apr_la_LIBADD = \
$(EXIF_LIBS)
$(top_builddir)/thunarx/libthunarx-$(THUNARX_VERSION_API).la \
$(EXIF_LIBS) \
$(EXO_LIBS) \
$(GLIB_LIBS) \
$(GTK_LIBS)
thunar_apr_la_DEPENDENCIES = \
$(top_builddir)/thunarx/libthunarx-$(THUNARX_VERSION_API).la
EXTRA_DIST = \
README
......
......@@ -34,6 +34,7 @@ thunar_sbr_la_SOURCES = \
thunar_sbr_la_CFLAGS = \
$(EXIF_CFLAGS) \
$(EXO_CFLAGS) \
$(GLIB_CFLAGS) \
$(PCRE_CFLAGS) \
$(PLATFORM_CFLAGS)
......@@ -45,8 +46,14 @@ thunar_sbr_la_LDFLAGS = \
$(PLATFORM_LDFLAGS)
thunar_sbr_la_LIBADD = \
$(PCRE_LIBS) \
$(EXIF_LIBS)
$(top_builddir)/thunarx/libthunarx-$(THUNARX_VERSION_API).la \
$(EXIF_LIBS) \
$(EXO_LIBS) \
$(GLIB_LIBS) \
$(PCRE_LIBS)
thunar_sbr_la_DEPENDENCIES = \
$(top_builddir)/thunarx/libthunarx-$(THUNARX_VERSION_API).la
EXTRA_DIST = \
README
......
......@@ -36,11 +36,6 @@ thunar_uca_la_CFLAGS = \
$(LIBXFCE4UI_CFLAGS) \
$(PLATFORM_CFLAGS)
thunar_uca_la_LIBADD = \
$(EXO_LIBS) \
$(LIBXFCE4UTIL_LIBS) \
$(LIBXFCE4UI_LIBS)
thunar_uca_la_LDFLAGS = \
-avoid-version \
-export-dynamic \
......@@ -48,6 +43,15 @@ thunar_uca_la_LDFLAGS = \
-module \
$(PLATFORM_LDFLAGS)
thunar_uca_la_LIBADD = \
$(top_builddir)/thunarx/libthunarx-$(THUNARX_VERSION_API).la \
$(EXO_LIBS) \
$(LIBXFCE4UTIL_LIBS) \
$(LIBXFCE4UI_LIBS)
thunar_uca_la_DEPENDENCIES = \
$(top_builddir)/thunarx/libthunarx-$(THUNARX_VERSION_API).la
defaultsdir = $(sysconfdir)/xdg/Thunar
defaults_in_files = uca.xml.in
defaults_DATA = $(defaults_in_files:.xml.in=.xml)
......
......@@ -16,16 +16,25 @@ thunar_wallpaper_plugin_la_SOURCES = \
thunar-wallpaper-plugin.c
thunar_wallpaper_plugin_la_CFLAGS = \
$(PLATFORM_CFLAGS) \
$(THUNARX_CFLAGS) \
$(EXO_CFLAGS)
$(EXO_CFLAGS) \
$(GLIB_CFLAGS) \
$(GTK_CFLAGS) \
$(PLATFORM_CFLAGS)
thunar_wallpaper_plugin_la_LDFLAGS = \
-avoid-version \
-export-dynamic \
-export-symbols-regex "^thunar_extension_(shutdown|initialize|list_types)" \
-module \
$(PLATFORM_LDFLAGS) \
$(THUNARX_LDFLAGS)
$(PLATFORM_LDFLAGS)
thunar_wallpaper_plugin_la_LIBADD = \
$(top_builddir)/thunarx/libthunarx-$(THUNARX_VERSION_API).la \
$(EXO_LIBS) \
$(GLIB_LIBS) \
$(GTK_LIBS)
thunar_wallpaper_plugin_la_DEPENDENCIES = \
$(top_builddir)/thunarx/libthunarx-$(THUNARX_VERSION_API).la
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment