From 1429d25ca7bfbfbaf599bc4b368036ed73d7d848 Mon Sep 17 00:00:00 2001 From: raster Date: Mon, 27 Feb 2012 05:20:17 +0000 Subject: [PATCH] Fix linking complaints brought out by: From: Thanatermesis Subject: [E-devel] LDFLAGS with -Wl,-z,defs Aparently if you add the option "-Wl,-z,defs" to your LDFLAGS, there's some libs that doesn't compile, like evas and e_dbus, there's some logs: git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68464 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/Makefile.am | 7 ++++++- src/edje_externals/Makefile.am | 2 +- src/modules/access_output/Makefile.am | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index 74f0746..9718e55 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -169,8 +169,13 @@ elementary_testql_LTLIBRARIES = elementary_testql.la elementary_testql_la_SOURCES = $(elementary_test_SOURCES) elementary_testql_la_LIBADD = $(top_builddir)/src/lib/libelementary.la \ @ELEMENTARY_EWEATHER_LIBS@ \ + @ELEMENTARY_EDBUS_LIBS@ \ + @ELEMENTARY_EFREET_LIBS@ \ + @ELEMENTARY_EMAP_LIBS@ \ + @ELEMENTARY_LIBS@ \ @EIO_LIBS@ \ - @ELEMENTARY_WEB_LIBS@ + @ELEMENTARY_WEB_LIBS@ \ + @my_libs@ elementary_testql_la_CFLAGS = elementary_testql_la_LDFLAGS = -module -avoid-version -no-undefined diff --git a/src/edje_externals/Makefile.am b/src/edje_externals/Makefile.am index 86dcffc..875ad7f 100644 --- a/src/edje_externals/Makefile.am +++ b/src/edje_externals/Makefile.am @@ -68,5 +68,5 @@ elm_toolbar.c \ elm_video.c \ elm_web.c -module_la_LIBADD = $(top_builddir)/src/lib/libelementary.la +module_la_LIBADD = @ELEMENTARY_LIBS@ $(top_builddir)/src/lib/libelementary.la module_la_LDFLAGS = -no-undefined -module -avoid-version -shared -fPIC diff --git a/src/modules/access_output/Makefile.am b/src/modules/access_output/Makefile.am index 0cf2187..f23dc01 100644 --- a/src/modules/access_output/Makefile.am +++ b/src/modules/access_output/Makefile.am @@ -28,6 +28,6 @@ pkg_LTLIBRARIES = module.la module_la_SOURCES = mod.c -module_la_LIBADD = $(top_builddir)/src/lib/libelementary.la +module_la_LIBADD = @ELEMENTARY_LIBS@ $(top_builddir)/src/lib/libelementary.la module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version module_la_LIBTOOLFLAGS = --tag=disable-static -- 2.7.4