From 7d38c0a07effc26aaffe3603233c322cb006caa9 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 8 Jul 2017 12:42:41 +0200 Subject: [PATCH] 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 --- libs/psqlodbc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/psqlodbc/Makefile b/libs/psqlodbc/Makefile index 2881483284..ddd9aac7f3 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/ -- 2.30.2