Bug#604639: flac fails to cross build using xdeb
Peter Pearse
peter.pearse at arm.com
Thu Nov 25 09:06:10 UTC 2010
Correct
Perhaps the patch below clarifies matters.
In the initial patch I'd assumed ogg libraries would have the same problem.
However it soesn't seem to.
diff -Nru flac-1.2.1/debian/rules flac-1.2.1-3/debian/rules
--- flac-1.2.1/debian/rules 2010-11-25 08:54:23.000000000 +0000
+++ flac-1.2.1-3/debian/rules 2010-11-25 08:48:45.000000000 +0000
@@ -18,6 +18,11 @@
CONFIGURE_ARGS = --build=$(DEB_BUILD_GNU_TYPE)
ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
CONFIGURE_ARGS += --host=$(DEB_HOST_GNU_TYPE)
+# Provide a value for ogg includes
+# - otherwise the package supplies the system directory.
+# breaking the cross build
+# ogg libraries are NOT similarly affected
+CONFIGURE_ARGS += --with-ogg-includes=/usr/$(DEB_HOST_GNU_TYPE)/usr/include
endif
configure: patch configure-stamp
--
Regards
Peter
More information about the pkg-multimedia-maintainers
mailing list