mirror of https://git.wownero.com/dsc/mxe.git
geos: Enable shared builds
Modifications: don't define GEOS_INLINE. See #534. Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
parent
120fe54761
commit
31a7e07771
|
@ -19,10 +19,7 @@ endef
|
|||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && ./configure \
|
||||
--host='$(TARGET)' \
|
||||
--build="`config.guess`" \
|
||||
--disable-shared \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MXE_CONFIGURE_OPTS)
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||
|
||||
ln -sf '$(PREFIX)/$(TARGET)/bin/geos-config' '$(PREFIX)/bin/$(TARGET)-geos-config'
|
||||
|
@ -32,5 +29,3 @@ define $(PKG)_BUILD
|
|||
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-geos.exe' \
|
||||
`'$(PREFIX)/bin/$(TARGET)-geos-config' --cflags --clibs`
|
||||
endef
|
||||
|
||||
$(PKG)_BUILD_SHARED =
|
||||
|
|
Loading…
Reference in New Issue