Mercurial > mxe-octave
changeset 3035:513a8deac0f0
Update ncurses for native mingw build
* src/ncurses.mk: disable shared lib in native mingw
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 09 Jun 2013 19:46:53 -0400 |
parents | 565a86a04c05 |
children | 1427f8d3a0af |
files | src/ncurses.mk |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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