From: Samuel Martin <s.martin49@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] libplayer: fix CFLAGS
Date: Sun, 3 Jun 2012 00:08:48 +0200 [thread overview]
Message-ID: <1338674928-1889-3-git-send-email-s.martin49@gmail.com> (raw)
In-Reply-To: <1338674928-1889-1-git-send-email-s.martin49@gmail.com>
Because libplayer is not a "real" AUTOTARGET, pkg-config magic is not
handled as expected, so some headers cannot be found.
This patch provides the include directory for the following unfound
headers:
- glib.h
- glibconfig.h
- gst/gst.h
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
diff --git a/package/libplayer/libplayer.mk b/package/libplayer/libplayer.mk
index 093821e..f744361 100644
--- a/package/libplayer/libplayer.mk
+++ b/package/libplayer/libplayer.mk
@@ -32,6 +32,10 @@ endif
ifeq ($(BR2_PACKAGE_LIBPLAYER_GSTREAMER),y)
LIBPLAYER_DEPENDENCIES += gstreamer
LIBPLAYER_CONF_OPT += --enable-gstreamer
+ LIBPLAYER_MAKE_OPT += \
+ CFLAGS+="-I$(STAGING_DIR)/usr/include/glib-2.0 \
+ -I$(STAGING_DIR)/usr/lib/glib-2.0/include \
+ -I$(STAGING_DIR)/usr/include/gstreamer-0.10"
else
LIBPLAYER_CONF_OPT += --disable-gstreamer
endif
--
1.7.10.3
next prev parent reply other threads:[~2012-06-02 22:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-02 22:08 [Buildroot] [PATCH 1/3] sdl_gfx: fix assignments Samuel Martin
2012-06-02 22:08 ` [Buildroot] [PATCH 2/3] sdl_sound: " Samuel Martin
2012-06-02 22:22 ` Thomas Petazzoni
2012-06-05 6:55 ` Peter Korsgaard
2012-06-02 22:08 ` Samuel Martin [this message]
2012-06-02 22:22 ` [Buildroot] [PATCH 1/3] sdl_gfx: " Thomas Petazzoni
2012-06-05 6:55 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1338674928-1889-3-git-send-email-s.martin49@gmail.com \
--to=s.martin49@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox