diff src/readline.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 94c2c61023a0
line wrap: on
line diff
--- a/src/readline.mk	Wed Nov 14 10:53:53 2012 +0100
+++ b/src/readline.mk	Thu Nov 15 16:11:45 2012 -0500
@@ -21,11 +21,11 @@
     $(SED) -i 's,^ *case SIGTSTP:.*,,' '$(1)/signals.c'
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
-        --disable-shared \
+        $(ENABLE_SHARED_OR_STATIC) \
         --prefix='$(PREFIX)/$(TARGET)' \
         --enable-multibyte \
         --without-purify \
         --with-curses \
         LIBS='-lpdcurses'
-    $(MAKE) -C '$(1)' -j '$(JOBS)' install SHARED_LIBS=
+    $(MAKE) -C '$(1)' -j '$(JOBS)' install
 endef