Pull request for branch other-build-fixes
The following changes since commit 1eb59f598f52b65b3d3adfcf74729091e95015f0:
Peter Korsgaard (1):
CHANGES: #2191 is resolved
are available in the git repository at:
git://git.busybox.net/~tpetazzoni/git/buildroot other-build-fixes
Thomas Petazzoni (2):
neon: explicit path to xml2-config
alsa-lib: make sure to only look in STAGING_DIR for Python includes
package/multimedia/alsa-lib/alsa-lib.mk | 4 +++- package/neon/neon.mk | 1 + 2 files changed, 4 insertions(+), 1 deletions(-)
Thanks,
Signature · 1 line
Thomas Petazzoni
PATCH 1/2 neon: explicit path to xml2-config
Now that $(STAGING_DIR)/usr/bin is not in the PATH, we need to explicit the path to such tools.
This might also fix bug 1393 since by expliciting the path to xml2-config, we'll force neon ./configure to choose our xml2-config and not the one of the host.
--- package/neon/neon.mk | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
package/neon/neon.mk +1 -0
@@ -14,6 +14,7 @@ NEON_DEPENDENCIES:=host-pkg-config ifeq ($(BR2_PACKAGE_NEON_LIBXML2),y) NEON_CONF_OPT+=--with-libxml2=yes NEON_CONF_OPT+=--with-expat=no +NEON_CONF_ENV+=ac_cv_prog_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config NEON_DEPENDENCIES+=libxml2 endif ifeq ($(BR2_PACKAGE_NEON_ZLIB),y)
Signature · 1 line
1.7.0.4
PATCH 2/2 alsa-lib: make sure to only look in STAGING_DIR for Python includes
In reply to Thomas PetazzoniEven though we pass a -I option to tell alsa-lib to look for Python includes in the STAGING_DIR, alsa-lib build process still looks in /usr/include for some stuff, causing bug #321.
This fix is the one suggested by Ulf Samuelsson in bug #321, and allows to make alsa-lib with Python support to build properly on a 64 bits machine with python-dev installed on the host. Without this fix, the build fails with exactly the same problem that Ulf reported.
--- package/multimedia/alsa-lib/alsa-lib.mk | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
package/multimedia/alsa-lib/alsa-lib.mk +3 -1
@@ -54,7 +54,9 @@ ALSA_LIB_CFLAGS+=-DAVR32_INLINE_BUG endif ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y) -ALSA_LIB_CONF_OPT += --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR) +ALSA_LIB_CONF_OPT += \ + --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR) \ + --with-pythonincludes=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) ALSA_LIB_CFLAGS+=-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) ALSA_LIB_DEPENDENCIES = libpython else
Signature · 1 line
1.7.0.4
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Thomas> The following changes since commit 1eb59f598f52b65b3d3adfcf74729091e95015f0:
Thomas> Peter Korsgaard (1):
Thomas> CHANGES: #2191 is resolved
Thomas> are available in the git repository at:
Thomas> git://git.busybox.net/~tpetazzoni/git/buildroot other-build-fixes
Pulled and pushed, thanks!
Signature · 1 line
Bye, Peter Korsgaard