Commit 99926a58 authored by Tristan Matthews's avatar Tristan Matthews

configure: fix linking with contrib

Refs #58282

(cherry picked from vlc commits
 06b9bc0acd314f79fdd03d9f0571dbf20319b5cf
 8aa887870319cc0089f781b6ecd332ae7af5c02c
 b0f1df3988938b37dd04649918f3c70465299dd5)

Change-Id: Icbf887f35eded1b2abf36b464ccbeb1de497b02b
parent 2c645940
......@@ -99,10 +99,18 @@ AS_IF([test "$SYS" = linux],[
])
AM_CONDITIONAL(HAVE_ANDROID, test "${HAVE_ANDROID}" = "1")
LT_INIT
dnl override platform specific check for dependent libraries
dnl otherwise libtool linking of shared libraries will
dnl fail on anything other than pass_all.
AC_CACHE_VAL(lt_cv_deplibs_check_method,
[lt_cv_deplibs_check_method=pass_all])
LT_INIT([dlopen win32-dll shared disable-static])
dnl Define C++ as default language
AC_LANG(C++)
LT_LANG(C++)
lt_cv_deplibs_check_method=pass_all
dnl Check for C++11 support
AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment