From cebef70d9071eac41765ecc322cd863368fc737f Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Fri, 25 May 2001 01:20:51 +0000
Subject: One last structural change.  Install header files to
 INSTALLDIR/usr/include so we now parallel the behavior of the standard tools.

Also make sure we check INSTALLDIR/lib and INSTALLDIR/usr/lib for libraries.
 -Erik
---
 extra/gcc-uClibc/gcc-uClibc.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'extra')

diff --git a/extra/gcc-uClibc/gcc-uClibc.c b/extra/gcc-uClibc/gcc-uClibc.c
index f0c5fae1c..aa50f5dc8 100644
--- a/extra/gcc-uClibc/gcc-uClibc.c
+++ b/extra/gcc-uClibc/gcc-uClibc.c
@@ -63,7 +63,7 @@ static char *rpath[] = {
 };
 
 static char *uClibc_inc[] = {
-	"-I"UCLIBC_INSTALL_DIR"include/",
+	"-I"UCLIBC_INSTALL_DIR"usr/include/",
 	"-I"UCLIBC_BUILD_DIR"include/"
 };
 
@@ -74,7 +74,9 @@ static char *crt0_path[] = {
 
 static char *lib_path[] = {
 	"-L"UCLIBC_INSTALL_DIR"lib",
+	"-L"UCLIBC_INSTALL_DIR"usr/lib",
 	"-L"UCLIBC_BUILD_DIR"lib"
+	"-L"UCLIBC_BUILD_DIR"usr/lib"
 };
 
 static char static_linking[] = "-static";
-- 
cgit v1.2.3