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:
Rashad M 2014-10-21 20:49:49 -07:00 committed by Timothy Gu
parent 120fe54761
commit 31a7e07771
1 changed files with 1 additions and 6 deletions

View File

@ -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 =