Mercurial > mxe-octave
diff src/libdnet.mk @ 2855:47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 15 Nov 2012 16:11:45 -0500 |
parents | 4d0f3a9da57e |
children | 100e618349f7 |
line wrap: on
line diff
--- a/src/libdnet.mk Wed Nov 14 10:53:53 2012 +0100 +++ b/src/libdnet.mk Thu Nov 15 16:11:45 2012 -0500 @@ -28,7 +28,7 @@ $(SED) -i 's,-mno-cygwin,,' '$(1)/configure' cd '$(1)' && ./configure \ --host='$(TARGET)' \ - --disable-shared \ + $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(PREFIX)/$(TARGET)' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef