nemiver r818 - in branches/0.5: . src/common src/confmgr src/dbdimpl/sqlite src/dbgengine src/persp/dbgperspective src/uicommon src/workbench
- From: dodji svn gnome org
- To: svn-commits-list gnome org
- Subject: nemiver r818 - in branches/0.5: . src/common src/confmgr src/dbdimpl/sqlite src/dbgengine src/persp/dbgperspective src/uicommon src/workbench
- Date: Sun, 18 May 2008 18:19:41 +0000 (UTC)
Author: dodji
Date: Sun May 18 18:19:41 2008
New Revision: 818
URL: http://svn.gnome.org/viewvc/nemiver?rev=818&view=rev
Log:
use -Wl,--as-needed to link DSOs.
This is a cherry picking merge from trunk.
The merge command was:
svn merge -r814:815 svn+ssh://svn.gnome.org/svn/nemiver/trunk
Modified:
branches/0.5/ChangeLog
branches/0.5/src/common/Makefile.am
branches/0.5/src/confmgr/Makefile.am
branches/0.5/src/dbdimpl/sqlite/Makefile.am
branches/0.5/src/dbgengine/Makefile.am
branches/0.5/src/persp/dbgperspective/Makefile.am
branches/0.5/src/uicommon/Makefile.am
branches/0.5/src/workbench/Makefile.am
Modified: branches/0.5/src/common/Makefile.am
==============================================================================
--- branches/0.5/src/common/Makefile.am (original)
+++ branches/0.5/src/common/Makefile.am Sun May 18 18:19:41 2008
@@ -65,7 +65,8 @@
publicheaders_DATA=$(headers)
publicheadersdir=$(NEMIVER_INCLUDE_DIR)/common
libnemivercommon_la_LDFLAGS= NEMIVERCOMMON_LIBS@ -lutil \
- -avoid-version -rpath $(libdir)/nemiver
+ -avoid-version -rpath $(libdir)/nemiver \
+ -Wl,--as-needed
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libnemivercommon.pc
Modified: branches/0.5/src/confmgr/Makefile.am
==============================================================================
--- branches/0.5/src/confmgr/Makefile.am (original)
+++ branches/0.5/src/confmgr/Makefile.am Sun May 18 18:19:41 2008
@@ -10,7 +10,7 @@
publicheaders_DATA=$(headers)
publicheadersdir=$(NEMIVER_INCLUDE_DIR)/dynmods
-libgconfmgrmod_la_LDFLAGS=-module -avoid-version
+libgconfmgrmod_la_LDFLAGS=-module -avoid-version -Wl,--as-needed
libgconfmgrmod_la_LIBADD= NEMIVERCOMMON_LIBS@ @GCONF_LIBS@ \
$(top_builddir)/src/common/libnemivercommon.la
Modified: branches/0.5/src/dbdimpl/sqlite/Makefile.am
==============================================================================
--- branches/0.5/src/dbdimpl/sqlite/Makefile.am (original)
+++ branches/0.5/src/dbdimpl/sqlite/Makefile.am Sun May 18 18:19:41 2008
@@ -8,7 +8,7 @@
libnemiverdbdsqlite_la_SOURCES=$(sources)
-libnemiverdbdsqlite_la_LDFLAGS= -module -avoid-version
+libnemiverdbdsqlite_la_LDFLAGS= -module -avoid-version -Wl,--as-needed
libnemiverdbdsqlite_la_LIBADD= \
@SQLITE3_LIBS@ @NEMIVERCOMMON_LIBS@ \
$(top_builddir)/src/common/libnemivercommon.la
Modified: branches/0.5/src/dbgengine/Makefile.am
==============================================================================
--- branches/0.5/src/dbgengine/Makefile.am (original)
+++ branches/0.5/src/dbgengine/Makefile.am Sun May 18 18:19:41 2008
@@ -75,7 +75,7 @@
publicheaders_DATA=$(dynmodheaders)
publicheadersdir=$(NEMIVER_INCLUDE_DIR)/dynmods
-libgdbmod_la_LDFLAGS=-module -avoid-version
+libgdbmod_la_LDFLAGS=-module -avoid-version -Wl,--as-needed
libgdbmod_la_LIBADD=libdbgcommon.la libgdbmiparser.la libgdbengine.la \
@NEMIVERCOMMON_LIBS@ \
$(top_builddir)/src/langs/libnemivercparser.la \
Modified: branches/0.5/src/persp/dbgperspective/Makefile.am
==============================================================================
--- branches/0.5/src/persp/dbgperspective/Makefile.am (original)
+++ branches/0.5/src/persp/dbgperspective/Makefile.am Sun May 18 18:19:41 2008
@@ -90,7 +90,7 @@
endif
libdbgperspectiveplugin_la_SOURCES=$(sources) $(memoryview_sources)
-libdbgperspectiveplugin_la_LDFLAGS= -module -avoid-version
+libdbgperspectiveplugin_la_LDFLAGS= -module -avoid-version -Wl,--as-needed
libdbgperspectiveplugin_la_LIBADD= \
@NEMIVERDBGPERSP_LIBS@ \
$(top_builddir)/src/common/libnemivercommon.la \
Modified: branches/0.5/src/uicommon/Makefile.am
==============================================================================
--- branches/0.5/src/uicommon/Makefile.am (original)
+++ branches/0.5/src/uicommon/Makefile.am Sun May 18 18:19:41 2008
@@ -21,10 +21,10 @@
if BUILD_MEMORYVIEW
memoryview_sources = \
- nmv-hex-editor.h \
- nmv-hex-editor.cc \
- nmv-hex-document.h \
- nmv-hex-document.cc
+nmv-hex-editor.h \
+nmv-hex-editor.cc \
+nmv-hex-document.h \
+nmv-hex-document.cc
else
memoryview_sources =
endif
Modified: branches/0.5/src/workbench/Makefile.am
==============================================================================
--- branches/0.5/src/workbench/Makefile.am (original)
+++ branches/0.5/src/workbench/Makefile.am Sun May 18 18:19:41 2008
@@ -25,7 +25,7 @@
publicheaders_DATA=$(headers)
publicheadersdir=$(NEMIVER_INCLUDE_DIR)/dynmods
-libworkbenchmod_la_LDFLAGS=-module -avoid-version
+libworkbenchmod_la_LDFLAGS=-module -avoid-version -Wl,--as-needed
libworkbenchmod_la_LIBADD= NEMIVERWORKBENCH_LIBS@ \
$(top_builddir)/src/common/libnemivercommon.la \
$(top_builddir)/src/uicommon/libnemiveruicommon.la
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]