Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(954)

Unified Diff: examples/ecore/Makefile.am

Issue 2120003: Fix dbus-c++ to compile examples in a cross compilation environment (Closed) Base URL: ssh://git@chromiumos-git//dbus-cplusplus.git
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « examples/echo/Makefile.am ('k') | examples/glib/Makefile.am » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/ecore/Makefile.am
diff --git a/examples/ecore/Makefile.am b/examples/ecore/Makefile.am
index 93ab95956744ce1a5a53ff96b15d4d541b36a944..7d765788c227fc722600ea848fc3af54093e8a0b 100644
--- a/examples/ecore/Makefile.am
+++ b/examples/ecore/Makefile.am
@@ -1,5 +1,11 @@
EXTRA_DIST =
+if CROSS_COMPILING
+dbusxx_xml2cpp = dbusxx-xml2cpp
+else
+dbusxx_xml2cpp = $(top_builddir)/tools/dbusxx-xml2cpp
+endif
+
AM_CPPFLAGS = -I$(top_srcdir)/include $(ecore_CFLAGS) $(xml_CFLAGS) -I$(top_srcdir)/tools
if ENABLE_ECORE
@@ -10,7 +16,7 @@ dbus_ecore_SOURCES = dbus_ecore-glue.h dbus_ecore.h dbus_ecore.cpp $(top_srcdir)
dbus_ecore_LDADD = $(top_builddir)/src/libdbus-c++-1.la $(ecore_LIBS) $(xml_LIBS)
dbus_ecore-glue.h: $(top_srcdir)/data/org.freedesktop.DBus.xml
- $(top_builddir)/tools/dbusxx-xml2cpp $^ --proxy=$@
+ $(dbusxx_xml2cpp) $^ --proxy=$@
BUILT_SOURCES = dbus_ecore-glue.h
CLEANFILES = $(BUILT_SOURCES)
« no previous file with comments | « examples/echo/Makefile.am ('k') | examples/glib/Makefile.am » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698