freeimage: fix posix shared build

This commit is contained in:
Tony Theodore 2018-12-29 16:31:38 +11:00
parent 1c77cfc078
commit e9d4e7d1a0
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ define $(PKG)_BUILD_STATIC
endef
define $(PKG)_BUILD_SHARED
$(SED) -i 's,-shared -static,-shared,' '$(1)/Makefile.mingw'
$(MAKE) -C '$(1)' -j '$(JOBS)' -f Makefile.mingw \
CXX='$(TARGET)-g++' \
CC='$(TARGET)-gcc' \