From dfb9a2160ea1eb7016362e4a6bd146445a85b270 Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Sat, 20 Nov 2004 13:21:37 +0000 Subject: corrections to remove hardcoded paths. Signed-off-by: Brian Harring --- Makefile.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 606f67e..3460530 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,11 +4,15 @@ datadir = @datadir@ AM_CFLAGS = -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT libsandbox_la_SOURCES = libsandbox.c sandbox_futils.c localdecls.h -libsandbox_la_LDFLAGS = -Wc,-nostdlib -libsandbox_la_CFLAGS = -Wc,-nostdlib -D_REENTRANT -D_GNU_SOURCE -DSANDBOX_BASHRC_PATH=\"$(pkgdatadir)\" +libsandbox_la_LDFLAGS = -Wc,-nostdlib -lc -ldl +libsandbox_la_CFLAGS = -Wc,-nostdlib -D_REENTRANT -D_GNU_SOURCE \ + -DSANDBOX_BASHRC_PATH=\"$(pkgdatadir)\" \ + -DLIBSANDBOX_PATH=\"$(libdir)\" + sandbox_SOURCES = sandbox.c sandbox.h sandbox_futils.c getcwd.c -sandbox_CFLAGS = -DSANDBOX_BASHRC_PATH=\"$(pkgdatadir)\" +sandbox_CFLAGS = -DSANDBOX_BASHRC_PATH=\"$(pkgdatadir)\" \ + -DLIBSANDBOX_PATH=\"$(libdir)\" BUILT_SOURCES = localdecls.h -- cgit v1.2.3-65-gdbad