diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-03-22 23:00:32 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-03-22 23:00:32 +0000 |
commit | 5dcdfcdf7a5a4df6196ad87741f7a0a9e270926d (patch) | |
tree | 5d650cf87481d492dbf4f8f4b27e4aadb6ea1ccf /src/rc/Makefile | |
parent | a4f9eb699b915c90ac93a4a9af4de5456085c26c (diff) |
add local rpaths if in the git tree
Diffstat (limited to 'src/rc/Makefile')
-rw-r--r-- | src/rc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |