summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/freetds.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freetds.mk b/src/freetds.mk
index 4b4cf5d..77af37f 100644
--- a/src/freetds.mk
+++ b/src/freetds.mk
@@ -27,7 +27,6 @@ define $(PKG)_BUILD
# wine confuses the cross-compiling detection, so set it explicitly
$(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
- # beware --with-gnutls broken detection
cd '$(1)' && ./configure \
--prefix='$(PREFIX)/$(TARGET)' \
--host='$(TARGET)' \
@@ -40,6 +39,7 @@ define $(PKG)_BUILD
--enable-sspi \
--disable-threadsafe \
--with-tdsver=7.2 \
- --with-gnutls
+ --with-gnutls \
+ PKG_CONFIG='$(TARGET)-pkg-config'
$(MAKE) -C '$(1)' -j '$(JOBS)' install man_MANS=
endef