Fix --with-rpath

This commit is contained in:
pancake 2012-10-29 13:15:18 +01:00
parent 52d4eff43f
commit 6e14bc6725

View File

@ -1,10 +1,12 @@
BINR_PROGRAM=1
include ../../libr/config.mk
#.PHONY: all clean
CFLAGS+=-DLIBDIR=\"${LIBDIR}\" -I$(LTOP)/include
ifeq ($(USE_RPATH),1)
LDFLAGS+=-Wl,-R${PREFIX}/lib
endif
OBJ+=${BIN}.o
BEXE=${BIN}${EXT_EXE}