Mercurial > mplayer.hg
changeset 29556:8635f13f0d2e
Also check linker flags to make sure that liveMedia libraries are there, too,
not just the headers.
author | reimar |
---|---|
date | Mon, 31 Aug 2009 09:00:37 +0000 |
parents | 169757b719a4 |
children | f1f13389cd49 |
files | configure |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Mon Aug 31 08:42:36 2009 +0000 +++ b/configure Mon Aug 31 09:00:37 2009 +0000 @@ -6853,7 +6853,8 @@ _live=yes && break done if test "$_live" != yes ; then - if cxx_check -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock; then + ld_tmp="-lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++" + if cxx_check -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock $ld_tmp; then _live_dist=yes fi fi @@ -6866,7 +6867,7 @@ _res_comment="using distribution version" _live="yes" def_live='#define CONFIG_LIVE555 1' - extra_ldflags="$extra_ldflags -lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++" + extra_ldflags="$extra_ldflags $ld_tmp" extra_cxxflags="-I/usr/include/liveMedia -I/usr/include/UsageEnvironment \ -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock" _inputmodules="live555 $_inputmodules"