summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1999-07-29 19:01:52 +0000
committerMartin Baulig <martin@src.gnome.org>1999-07-29 19:01:52 +0000
commit1318d894567c6b74d3b5a8731a1f65e7f191048f (patch)
treea76ec27989659edfa1b3ea0e5e6c35ec7ffbb17b /src
parent68f97794bd9e971fdd2a2a8771db8a4f1c6cbfa4 (diff)
downloadlibgtop-1318d894567c6b74d3b5a8731a1f65e7f191048f.tar.gz
Link the `libgtop_daemon' and the `libgtop_server' statically if possible.
1999-07-29 Martin Baulig <martin@home-of-linux.org> * Makefile.am: Link the `libgtop_daemon' and the `libgtop_server' statically if possible.
Diffstat (limited to 'src')
-rw-r--r--src/daemon/ChangeLog5
-rw-r--r--src/daemon/Makefile.am8
2 files changed, 13 insertions, 0 deletions
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 <martin@home-of-linux.org>
+
+ * Makefile.am: Link the `libgtop_daemon' and the `libgtop_server'
+ statically if possible.
+
1999-05-07 Martin Baulig <martin@home-of-linux.org>
* 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: