summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libgpg_error.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libgpg_error.mk b/src/libgpg_error.mk
index 50478b9..e795411 100644
--- a/src/libgpg_error.mk
+++ b/src/libgpg_error.mk
@@ -25,6 +25,7 @@ define $(PKG)_BUILD
--disable-nls \
--disable-languages
$(SED) -i 's/-lgpg-error/-lgpg-error -lintl -liconv/;' '$(1)/src/gpg-error-config'
+ $(SED) -i 's/host_os = mingw32.*/host_os = mingw32/' '$(1)/src/Makefile'
$(MAKE) -C '$(1)/src' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)/src' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
ln -sf '$(PREFIX)/$(TARGET)/bin/gpg-error-config' '$(PREFIX)/bin/$(TARGET)-gpg-error-config'