changeset 3213:ec7be25aaf74

for native builds, really put build tools and installed packages in same directory tree
author John W. Eaton <jwe@octave.org>
date Tue, 06 Aug 2013 21:26:25 -0400
parents 7ab70e4f0dcc
children df75a174b366
files Makefile.in
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Tue Aug 06 14:53:10 2013 -0400
+++ b/Makefile.in	Tue Aug 06 21:26:25 2013 -0400
@@ -74,9 +74,9 @@
 # For native builds, dump everything all together in one directory tree.
 BUILD_TOOLS_PREFIX := $(PWD)/usr
 ifeq ($(MXE_NATIVE_BUILD),yes)
-  HOST_PREFIX := $(PWD)/usr/$(TARGET)
+  HOST_PREFIX := $(BUILD_TOOLS_PREFIX)
 else
-  HOST_PREFIX := $(BUILD_TOOLS_PREFIX)
+  HOST_PREFIX := $(PWD)/usr/$(TARGET)
 endif
 
 # At least one package uses --with instead of --enable.