From 1318d894567c6b74d3b5a8731a1f65e7f191048f Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Thu, 29 Jul 1999 19:01:52 +0000 Subject: [PATCH] Link the `libgtop_daemon' and the `libgtop_server' statically if possible. 1999-07-29 Martin Baulig * Makefile.am: Link the `libgtop_daemon' and the `libgtop_server' statically if possible. --- src/daemon/ChangeLog | 5 +++++ src/daemon/Makefile.am | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/src/daemon/ChangeLog b/src/daemon/ChangeLog index a8334f50..f0e1d919 100644 --- a/src/daemon/ChangeLog +++ b/src/daemon/ChangeLog @@ -1,3 +1,8 @@ +1999-07-29 Martin Baulig + + * Makefile.am: Link the `libgtop_daemon' and the `libgtop_server' + statically if possible. + 1999-05-07 Martin Baulig * server.c (main): There's some problem with uname () - some systems diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am index 8fb7571a..50c7a7fb 100644 --- a/src/daemon/Makefile.am +++ b/src/daemon/Makefile.am @@ -41,11 +41,19 @@ libgtop_daemon_LDADD = $(top_builddir)/lib/libgtop.la \ $(GLIB_LIBS)\ @LIBSUPPORT@ @INTLLIBS@ @libs_xauth@ +if ENABLE_STATIC +libgtop_daemon_LDFLAGS = -static +endif + libgtop_server_SOURCES = server.c slave.c io.c version.c daemon.h libgtop_server_LDADD = $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps_suid.la \ $(top_builddir)/sysdeps/common/libgtop_suid_common.la \ @LIBSUPPORT@ +if ENABLE_STATIC +libgtop_server_LDFLAGS = -static +endif + EXTRA_DIST = server_config.h.in server_config.pl install-exec-hook: