add rpath for test dynamic library; silence unused warnings for test

This commit is contained in:
Alex Fabijanic 2015-12-06 22:08:18 -06:00
parent c4f3de31d6
commit 4499062f0d

View File

@ -51,3 +51,9 @@ include $(POCO_BASE)/build/rules/exec
ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre
endif
COMMONFLAGS += -Wno-unused-variable -Wno-unused-but-set-variable
ifeq ($(LINKMODE),SHARED)
SHAREDOPT_LINK += -Wl,-rpath,$(BINPATH)
endif