diff src/apr.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 dabfd7db980c
line wrap: on
line diff
--- a/src/apr.mk	Wed Nov 14 10:53:53 2012 +0100
+++ b/src/apr.mk	Thu Nov 15 16:11:45 2012 -0500
@@ -21,8 +21,7 @@
         --prefix='$(PREFIX)/$(TARGET)' \
         --host='$(TARGET)' \
         --build="`config.guess`" \
-        --disable-shared \
-        --enable-static \
+        $(ENABLE_SHARED_OR_STATIC) \
         ac_cv_sizeof_off_t=4 \
         ac_cv_sizeof_pid_t=4 \
         ac_cv_sizeof_size_t=4 \