summaryrefslogtreecommitdiffstats
path: root/src/libgpg_error.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgpg_error.mk')
-rw-r--r--src/libgpg_error.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libgpg_error.mk b/src/libgpg_error.mk
index 42abb35..83213d4 100644
--- a/src/libgpg_error.mk
+++ b/src/libgpg_error.mk
@@ -18,12 +18,10 @@ endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
- --host='$(TARGET)' \
- --build="`config.guess`" \
- --disable-shared \
- --prefix='$(PREFIX)/$(TARGET)' \
+ $(MXE_CONFIGURE_OPTS) \
--disable-nls \
--disable-languages
$(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'
endef