View Single Post
Old 7th October 2011, 16:40   #13  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
To link against external libs, you can use PKG_CONFIG_PATH or specify location of those libs via --extra-cflags and --extra-ldflags. For example:
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" ./configure
OR
./configure --extra-cflags="/usr/local/include" --extra-ldflags="/usr/local/lib"
Another way:
LDFLAGS="-L/usr/local/lib" CFLAGS="-I/usr/local/include" ./configure

And you'll need to pass --enable-nonfree to configure if you want to link ffmbc against libfaac.
the_weirdo is offline   Reply With Quote