xref: /OK3568_Linux_fs/buildroot/package/dbus-cpp/0002-cross-compile-tools.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1tools: just do proper cross-compile
2
3Those tools are not used during the build; besides, they are installed.
4
5So they don't need to not be cross-compiled.
6
7Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8
9---
10Upstream status: not submitted, upstream is dead.
11
12diff -durN dbus-cpp-0.9.0.orig/tools/Makefile.am dbus-cpp-0.9.0/tools/Makefile.am
13--- dbus-cpp-0.9.0.orig/tools/Makefile.am	2017-03-21 21:48:57.013409423 +0100
14+++ dbus-cpp-0.9.0/tools/Makefile.am	2017-03-21 21:49:35.329979798 +0100
15@@ -1,7 +1,3 @@
16-# hacky, but ...
17-
18-CXX = $(CXX_FOR_BUILD)
19-
20 AM_CPPFLAGS = \
21 	$(dbus_CFLAGS) \
22 	$(xml_CFLAGS) \
23@@ -9,11 +3,7 @@
24 	-I$(top_builddir)/include \
25 	-Wall
26
27-if CROSS_COMPILING
28-libdbus_cxx_la = $(BUILD_LIBDBUS_CXX_DIR)/src/libdbus-c++-1.la
29-else
30 libdbus_cxx_la = $(top_builddir)/src/libdbus-c++-1.la
31-endif
32
33 bin_PROGRAMS = dbusxx-xml2cpp dbusxx-introspect
34
35