configure: added --enable-rpath option.
If set, binaries will have rpath set to $ORIGIN/../lib. That means that even using defaults (--prefix=/usr), you can install it via DESTDIR anywhere in your system and binaries will work. This is in preparation for BSD support. Closes: #87 [via git-merge-pr]
This commit is contained in:
@@ -36,5 +36,5 @@ uninstall:
|
||||
$(TEST): $(OBJS)
|
||||
@printf " [CCLD]\t\t$@\n"
|
||||
${SILENT}$(CC) $^ $(CPPFLAGS) -L$(TOPDIR)/lib $(CFLAGS) \
|
||||
$(PROG_CFLAGS) $(LDFLAGS) -lxbps -latf-c -o $@
|
||||
$(PROG_CFLAGS) $(LDFLAGS) $(PROG_LDFLAGS) -lxbps -latf-c -o $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user