diff options
Diffstat (limited to 'src/geos.mk')
-rw-r--r-- | src/geos.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/geos.mk b/src/geos.mk index eca7e09..16eaf70 100644 --- a/src/geos.mk +++ b/src/geos.mk @@ -25,10 +25,12 @@ define $(PKG)_BUILD --prefix='$(PREFIX)/$(TARGET)' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= + ln -sf '$(PREFIX)/$(TARGET)/bin/geos-config' '$(PREFIX)/bin/$(TARGET)-geos-config' + '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-geos.exe' \ - -lgeos_c `'$(PREFIX)/$(TARGET)/bin/geos-config' --cflags --libs` -lstdc++ + `'$(PREFIX)/bin/$(TARGET)-geos-config' --cflags --clibs` endef $(PKG)_BUILD_SHARED = |