Browse Source

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>
lilik-openwrt-22.03
Daniel Golle 8 years ago
parent
commit
7d38c0a07e
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libs/psqlodbc/Makefile

+ 4
- 0
libs/psqlodbc/Makefile View File

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


Loading…
Cancel
Save