summaryrefslogtreecommitdiff
path: root/X11.rules
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-08-27 13:26:22 +0000
committerEgbert Eich <eich@suse.de>2004-08-27 13:26:22 +0000
commit9e57311410f840fa235d03d24fd303e8fb319e19 (patch)
tree928111990f7f9243bfb100327e9fd4a62b6b9985 /X11.rules
parent97ef1ef17a506d911711cf1e1caeec9305373d6a (diff)
Fixed UseInstalled handling when cross compiling when building with
different ProjectRoot. Set X11ProjectRoot to the ProjectRoot on the build host (where the binaries that run on the build host live) (Alexander Gottwald).
Diffstat (limited to 'X11.rules')
-rw-r--r--X11.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/X11.rules b/X11.rules
index 2863df1..e1804b8 100644
--- a/X11.rules
+++ b/X11.rules
@@ -35,6 +35,14 @@ XCOMM $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
# define ImportX11 NO
#endif
+#if defined(X11ProjectRoot)
+# define XBinDir $(XPROJECTROOT)/bin
+#elif defined(ProjectRoot)
+# define XBinDir $(PROJECTROOT)/bin
+#else
+# define XBinDir $(BINDIR)
+#endif
+
#ifdef X11ProjectRoot
# define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib
#else