diff options
author | Egbert Eich <eich@suse.de> | 2004-08-27 13:26:22 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-08-27 13:26:22 +0000 |
commit | 9e57311410f840fa235d03d24fd303e8fb319e19 (patch) | |
tree | 928111990f7f9243bfb100327e9fd4a62b6b9985 /X11.rules | |
parent | 97ef1ef17a506d911711cf1e1caeec9305373d6a (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.rules | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |