diff --git a/sysdeps/linux/ChangeLog b/sysdeps/linux/ChangeLog index 840d5442..bc7c563a 100644 --- a/sysdeps/linux/ChangeLog +++ b/sysdeps/linux/ChangeLog @@ -1,3 +1,8 @@ +2000-02-22 Martin Baulig + + * Makefile.am: Only install the libs in $(LIBGTOP_BACKEND_DIR) + when we LIBGTOP_USE_GMODULE and in $(libdir) otherwise. + 2000-02-06 Martin Baulig * ppp.c: Make this work with multiple ISDN devices. diff --git a/sysdeps/linux/Makefile.am b/sysdeps/linux/Makefile.am index 87059b8e..ab54e429 100644 --- a/sysdeps/linux/Makefile.am +++ b/sysdeps/linux/Makefile.am @@ -6,7 +6,13 @@ dynamic_ldflags = @libgtop_dynamic_ldflags@ backenddir = @LIBGTOP_BACKEND_DIR@ -backend_LTLIBRARIES = libgtop_sysdeps.la +if LIBGTOP_USE_GMODULE +backendlibdir = $(backenddir) +else +backendlibdir = $(libdir) +endif + +backendlib_LTLIBRARIES = libgtop_sysdeps.la libgtop_sysdeps_la_SOURCES = open.c close.c cpu.c mem.c swap.c \ uptime.c loadavg.c shm_limits.c msg_limits.c \