psqlodbc: build against staging libs

avoid accidentally picking paths on the host for pg_config and
odbc_config by supplying them as parameters to configure.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2017-07-08 12:42:41 +02:00
parent 89c49a64c7
commit 7d38c0a07e

View file

@ -19,6 +19,10 @@ PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
CONFIGURE_ARGS += \
--with-unixodbc=$(STAGING_DIR)/usr \
--with-libpq=$(STAGING_DIR)/usr
define Package/psqlodbc/Default
SUBMENU:=database
URL:=https://odbc.postgresql.org/