diff options
author | Daniel Golle <daniel@makrotopia.org> | 2017-07-08 12:42:41 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2017-07-08 12:44:20 +0200 |
commit | 7d38c0a07effc26aaffe3603233c322cb006caa9 (patch) | |
tree | 122e644cb09627d726149d2e579c6ca9f81109bd /libs/psqlodbc | |
parent | 89c49a64c779b8bf88212172e5b7cbdae525c427 (diff) |
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>
Diffstat (limited to 'libs/psqlodbc')
-rw-r--r-- | libs/psqlodbc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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/ |