From 5dcdfcdf7a5a4df6196ad87741f7a0a9e270926d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 22 Mar 2008 23:00:32 +0000 Subject: add local rpaths if in the git tree --- src/rc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rc/Makefile b/src/rc/Makefile index 567541ed..e73cd713 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -33,7 +33,7 @@ CLEANFILES+= ${ALL_LINKS} LDFLAGS+= -L../librc -L../libeinfo LDADD+= -lutil -lrc -leinfo #CFLAGS+= -ggdb -#LDFLAGS+= -Wl,--rpath=../librc -Wl,--rpath=../libeinfo +LDFLAGS+= $(shell test -d ../../.git && echo -Wl,--rpath=../librc -Wl,--rpath=../libeinfo) MK= ../../mk include ${MK}/prog.mk -- cgit v1.2.3