Skip to content

Commit

Permalink
Aggregate pkg-config packages
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Mar 30, 2011
1 parent 5ab7881 commit 6fe2ae5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions configure.osx
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,7 @@ PKGS=""
# libavformat
#
if pkg-config --atleast-version 52.64.0 libavformat; then
echo >>${CONFIG_MAK} "LDFLAGS_cfg += " `pkg-config --libs libavformat`
echo >>${CONFIG_MAK} "CFLAGS_cfg += " `pkg-config --cflags libavformat`
PKGS+="libavformat "
echo "Using libavformat: `pkg-config --modversion libavformat`"
else
echo "libavformat 52.64.0 or newer not found."
Expand All @@ -257,8 +256,7 @@ fi
# libavutil
#
if pkg-config --atleast-version 50.15.0 libavutil; then
echo >>${CONFIG_MAK} "LDFLAGS_cfg += " `pkg-config --libs libavutil`
echo >>${CONFIG_MAK} "CFLAGS_cfg += " `pkg-config --cflags libavutil`
PKGS+="libavutil "
echo "Using libavutil: `pkg-config --modversion libavutil`"
else
echo "libavutil 50.15.0 or newer not found."
Expand All @@ -269,8 +267,7 @@ fi
# libswscale
#
if pkg-config --atleast-version 0.11.0 libswscale; then
echo >>${CONFIG_MAK} "LDFLAGS_cfg += " `pkg-config --libs libswscale`
echo >>${CONFIG_MAK} "CFLAGS_cfg += " `pkg-config --cflags libswscale`
PKGS+="libswscale "
echo "Using libswscale: `pkg-config --modversion libswscale`"
else
echo "libswscale 0.11.0 or newer not found."
Expand Down

0 comments on commit 6fe2ae5

Please sign in to comment.