summaryrefslogtreecommitdiff
path: root/package/alsa-lib/patches/patch-configure_ac
diff options
context:
space:
mode:
Diffstat (limited to 'package/alsa-lib/patches/patch-configure_ac')
-rw-r--r--package/alsa-lib/patches/patch-configure_ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/alsa-lib/patches/patch-configure_ac b/package/alsa-lib/patches/patch-configure_ac
new file mode 100644
index 000000000..631869f5c
--- /dev/null
+++ b/package/alsa-lib/patches/patch-configure_ac
@@ -0,0 +1,19 @@
+--- alsa-lib-1.0.28.orig/configure.ac 2014-06-17 14:34:19.000000000 +0200
++++ alsa-lib-1.0.28/configure.ac 2014-08-19 21:19:11.000000000 +0200
+@@ -72,16 +72,6 @@ AC_SUBST(LIBTOOL_VERSION_INFO)
+
+ test "x$prefix" = xNONE && prefix=$ac_default_prefix
+
+-dnl Do not build static and shared libraries together
+-if test "$enable_static" = "$enable_shared" -a "$enable_static" = "yes"; then
+-cat <<EOF
+- Please, do not try to compile static and shared libraries together.
+- See INSTALL file for more details (do not use --enable-shared=yes with
+- --enable-static=yes).
+-EOF
+- exit 1
+-fi
+-
+ dnl ALSA configuration directory
+ AC_ARG_WITH(configdir,
+ AS_HELP_STRING([--with-configdir=dir],