libgpg_error: fix build for non-default targets:

* x86_64-w64-mingw32.shared.sjlj
* x86_64-w64-mingw32.shared.posix
* x86_64-w64-mingw32.shared.posix.sjlj
* x86_64-w64-mingw32.shared.win32.sjlj
* i686-w64-mingw32.shared.dw2
* etc.

[Thanks to Tony Theodore] (Closes: #2259)
This commit is contained in:
Boris Pek 2018-12-29 15:22:18 +03:00 committed by Tony Theodore
parent e9d4e7d1a0
commit a8751bc4d3
1 changed files with 1 additions and 2 deletions

View File

@ -19,8 +19,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
cd '$(1)/src/syscfg' && ln -s lock-obj-pub.mingw32.h lock-obj-pub.mingw32.static.h
cd '$(1)/src/syscfg' && ln -s lock-obj-pub.mingw32.h lock-obj-pub.mingw32.shared.h
cd '$(1)/src/syscfg' && ln -s lock-obj-pub.mingw32.h lock-obj-pub.mingw32.$(call merge,.,$(call rest,$(call split,.,$(TARGET)))).h
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--disable-nls \