diff src/libgomp.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 b5321bdec505
children 100e618349f7
line wrap: on
line diff
--- a/src/libgomp.mk	Wed Nov 14 10:53:53 2012 +0100
+++ b/src/libgomp.mk	Thu Nov 15 16:11:45 2012 -0500
@@ -23,7 +23,7 @@
         --prefix='$(PREFIX)' \
         --enable-version-specific-runtime-libs \
         --with-gnu-ld \
-        --disable-shared \
+        $(ENABLE_SHARED_OR_STATIC) \
         LIBS='-lws2_32'
     $(MAKE) -C '$(1)/build/$(TARGET)/libgomp' -j '$(JOBS)' install