libotr: provide build of shared libraries

This commit is contained in:
Boris Pek 2017-03-14 00:53:15 +03:00
parent f7f470c24e
commit 31bb6af0b9
1 changed files with 5 additions and 3 deletions

View File

@ -18,10 +18,12 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
cd '$(1)' && ACLOCAL_PATH='$(PREFIX)/$(TARGET)/share/aclocal' autoreconf -fi
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS)
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MXE_CONFIGURE_OPTS) \
--with-libgcrypt-prefix='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' -j '$(JOBS)' $(if $(BUILD_SHARED), LDFLAGS=-no-undefined)
$(MAKE) -C '$(1)' -j 1 install
endef
$(PKG)_BUILD_SHARED =