# HG changeset patch # User John Donoghue # Date 1370821613 14400 # Node ID 513a8deac0f010265d2a5da2c37ef2ffd2bde6df # Parent 565a86a04c053a6e49db41cb142635c6ac77048b Update ncurses for native mingw build * src/ncurses.mk: disable shared lib in native mingw diff -r 565a86a04c05 -r 513a8deac0f0 src/ncurses.mk --- a/src/ncurses.mk Sun Jun 09 15:08:26 2013 -0400 +++ b/src/ncurses.mk Sun Jun 09 19:46:53 2013 -0400 @@ -16,6 +16,12 @@ head -1 endef +ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) + $(PKG)_CONFIG_OPTS := --with-normal --without-shared +else + $(PKG)_CONFIG_OPTS := --with-normal $(WITH_SHARED_OR_STATIC) +endif + define $(PKG)_BUILD cd '$(1)' && ./configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ @@ -29,7 +35,7 @@ --without-ada \ --without-manpages \ --enable-pc-files \ - --with-normal \ - $(WITH_SHARED_OR_STATIC) + $($(PKG)_CONFIG_OPTS) + $(MAKE) -C '$(1)' -j '$(JOBS)' install endef