aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-08-15 12:35:15 +0000
committerDiego Biurrun <diego@biurrun.de>2009-08-15 12:35:15 +0000
commit2513b2b43610600d82d63809cae7cd978209d4bc (patch)
tree909c0ca89e4ddfbd6cbc69e5aa9c2fa7bc5e7ddd /configure
parentd15f2e00c5a0c2b84f1a1f457044b6e57ca7e63d (diff)
downloadffmpeg-2513b2b43610600d82d63809cae7cd978209d4bc.tar.gz
Use pkg-config to generate the linker flags for libdirac.
We do the same for libschroedinger and already use pkg-config to generate the CFLAGS for libdirac anyway, so there is no new dependency. Thanks to Kovensky for reporting breakage on IRC. Originally committed as revision 19654 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 0832edd424..f75c71caaf 100755
--- a/configure
+++ b/configure
@@ -2240,8 +2240,8 @@ check_func truncf
# these are off by default, so fail if requested and not available
enabled avisynth && require2 vfw32 "windows.h vfw.h" AVIFileInit -lvfw32
enabled libdirac && add_cflags $(pkg-config --cflags dirac) &&
- require libdirac libdirac_decoder/dirac_parser.h dirac_decoder_init -ldirac_decoder &&
- require libdirac libdirac_encoder/dirac_encoder.h dirac_encoder_init -ldirac_encoder
+ require libdirac libdirac_decoder/dirac_parser.h dirac_decoder_init $(pkg-config --libs dirac) &&
+ require libdirac libdirac_encoder/dirac_encoder.h dirac_encoder_init $(pkg-config --libs dirac)
enabled libfaac && require2 libfaac "stdint.h faac.h" faacEncGetVersion -lfaac
enabled libfaad && require2 libfaad faad.h faacDecOpen -lfaad
enabled libgsm && require libgsm gsm.h gsm_create -lgsm