assignment
2. instead of unconditionally setting LIBS in CONFIGURE_ENV use automake logc
to correctly set library dependencies for the case when external libmp4v2
is used
Fix#2 also fixes build with non-base gcc: configure stage would pass LIBS
to all invocations of gcc and linking would fail because libmp4v2 is a C++
library, but non-base gcc (as opposed to g++) doesn't know where to look
for the correct libstdc++.
PR: 149765
Submitted by: Andriy Gapon <avg@icyb.net.ua>