summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2012-07-29 08:55:00 +0000
committerphintuka <phintuka>2012-07-29 08:55:00 +0000
commitc3fddcc3b151a023fdf60ffb792c52640610dd10 (patch)
treefc1f59a42a1b19d94ce8addb755bd951b8771165
parent2b5a50ba57bb7c87961d11ef0687ece658ae9c0d (diff)
downloadxineliboutput-c3fddcc3b151a023fdf60ffb792c52640610dd10.tar.gz
xineliboutput-c3fddcc3b151a023fdf60ffb792c52640610dd10.tar.bz2
Pass libavutil CFLAGS from pkg-config to gcc
-rw-r--r--Makefile4
-rwxr-xr-xconfigure3
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 47ffdec8..9d926018 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'xineliboutput.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile,v 1.109 2012-03-07 08:29:50 phintuka Exp $
+# $Id: Makefile,v 1.110 2012-07-29 08:55:00 phintuka Exp $
#
# The official name of this plugin.
@@ -284,7 +284,7 @@ vdrlogo_720x576.c: mpg2c vdrlogo_720x576.mpg
# C code (xine plugins and frontends)
$(sort $(OBJS_SXFE) $(OBJS_FBFE) $(OBJS_XINE)):
- $(CC) $(CFLAGS) -c $(DEFINES) $(INCLUDES) $(CFLAGS_X11) $(OPTFLAGS) -o $@ $<
+ $(CC) $(CFLAGS) -c $(DEFINES) $(INCLUDES) $(CFLAGS_X11) $(CFLAGS_AVUTIL) $(OPTFLAGS) -o $@ $<
### Internationalization (I18N):
ifeq ($(HAVE_I18N), yes)
diff --git a/configure b/configure
index 7b376f90..cde505fb 100755
--- a/configure
+++ b/configure
@@ -7,7 +7,7 @@
# See the main source file 'xineliboutput.c' for copyright information and
# how to reach the author.
#
-# * $Id: configure,v 1.40 2012-01-30 11:24:38 phintuka Exp $
+# * $Id: configure,v 1.41 2012-07-29 08:55:00 phintuka Exp $
#
PKG_CONFIG="pkg-config"
@@ -467,6 +467,7 @@ echo "CXX = $CXX">>$makefile
echo "CFLAGS_XINE += $CFLAGS_XINE">>$makefile
echo "CFLAGS_VDR += $CFLAGS_VDR">>$makefile
echo "CFLAGS_X11 += $CFLAGS_X11">>$makefile
+echo "CFLAGS_AVUTIL += $CFLAGS_AVUTIL">>$makefile
echo "LIBS_XINE += $LIBS_XINE">>$makefile
echo "LIBS_JPEG += $LIBS_JPEG">>$makefile
echo "LIBS_AVUTIL += $LIBS_AVUTIL">>$makefile