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