From: Daniel Golle Date: Sat, 8 Jul 2017 10:42:41 +0000 (+0200) Subject: psqlodbc: build against staging libs X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=7d38c0a07effc26aaffe3603233c322cb006caa9;p=openwrt-packages.git 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 --- diff --git a/libs/psqlodbc/Makefile b/libs/psqlodbc/Makefile index 288148328..ddd9aac7f 100644 --- a/libs/psqlodbc/Makefile +++ b/libs/psqlodbc/Makefile @@ -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/