diff src/sdl_net.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/sdl_net.mk	Wed Nov 14 10:53:53 2012 +0100
+++ b/src/sdl_net.mk	Thu Nov 15 16:11:45 2012 -0500
@@ -18,7 +18,7 @@
 define $(PKG)_BUILD
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
-        --disable-shared \
+        $(ENABLE_SHARED_OR_STATIC) \
         --prefix='$(PREFIX)/$(TARGET)' \
         --with-sdl-prefix='$(PREFIX)/$(TARGET)' \
         --disable-sdltest \