aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 01cecbee..a6340047 100755
--- a/configure
+++ b/configure
@@ -5731,7 +5731,7 @@ See the pkg-config man page for more details.
# It only takes the last from the list, assuming that this is the latest
# version.
if [ x$libavcodec_HAVE = xno -a x$FPC_PLATFORM = xdarwin ]; then
- PKG_CONFIG_PATH=`find $FPCDIR/lib/ffmpeg* -name libavcodec.pc | tail -n 1 | xargs dirname`:$PKG_CONFIG_PATH
+ PKG_CONFIG_PATH=`find $FPCDIR/lib/ffmpeg* -name libavcodec.pc | tail -n 1 | xargs dirname`:$PKG_CONFIG_PATH export PKG_CONFIG_PATH
have_lib="no"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libavcodec" >&5
diff --git a/configure.ac b/configure.ac
index d36ed657..fa240929 100644
--- a/configure.ac
+++ b/configure.ac
@@ -207,7 +207,7 @@ PKG_HAVE([libavcodec], [libavcodec], check)
# It only takes the last from the list, assuming that this is the latest
# version.
if [[ x$libavcodec_HAVE = xno -a x$FPC_PLATFORM = xdarwin ]]; then
- PKG_CONFIG_PATH=`find $FPCDIR/lib/ffmpeg* -name libavcodec.pc | tail -n 1 | xargs dirname`:$PKG_CONFIG_PATH
+ PKG_CONFIG_PATH=`find $FPCDIR/lib/ffmpeg* -name libavcodec.pc | tail -n 1 | xargs dirname`:$PKG_CONFIG_PATH export PKG_CONFIG_PATH
PKG_HAVE([libavcodec], [libavcodec], yes)
fi
PKG_VERSION([libavcodec], [libavcodec])