add local rpaths if in the git tree

This commit is contained in:
Mike Frysinger 2008-03-22 23:00:32 +00:00
parent a4f9eb699b
commit 5dcdfcdf7a

View File

@ -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