add local rpaths if in the git tree
This commit is contained in:
parent
a4f9eb699b
commit
5dcdfcdf7a
@ -33,7 +33,7 @@ CLEANFILES+= ${ALL_LINKS}
|
|||||||
LDFLAGS+= -L../librc -L../libeinfo
|
LDFLAGS+= -L../librc -L../libeinfo
|
||||||
LDADD+= -lutil -lrc -leinfo
|
LDADD+= -lutil -lrc -leinfo
|
||||||
#CFLAGS+= -ggdb
|
#CFLAGS+= -ggdb
|
||||||
#LDFLAGS+= -Wl,--rpath=../librc -Wl,--rpath=../libeinfo
|
LDFLAGS+= $(shell test -d ../../.git && echo -Wl,--rpath=../librc -Wl,--rpath=../libeinfo)
|
||||||
|
|
||||||
MK= ../../mk
|
MK= ../../mk
|
||||||
include ${MK}/prog.mk
|
include ${MK}/prog.mk
|
||||||
|
Loading…
Reference in New Issue
Block a user