From a11cd14453181175432d286a7a356c8eebdea053 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Sun, 29 Sep 2013 20:55:11 -0400 Subject: [PATCH] Cleanups. --- build/jam/BuildSetup | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index ad8f2c3eb6..743bbf92bc 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -266,10 +266,6 @@ if $(HOST_PLATFORM) = cygwin { --enable-auto-import ; } -if $(HOST_PLATFORM) = freebsd { - HOST_LINKFLAGS += -L/usr/local/lib ; -} - HOST_CPU ?= $(OSPLAT:L) ; # Jam doesn't know x86_64, so override HOST_CPU, if 64 bit. @@ -576,7 +572,10 @@ HOST_BE_API_C++FLAGS = ; HOST_HDRS += [ FDirName $(HAIKU_TOP) headers build host $(HOST_PLATFORM) ] ; if $(HOST_PLATFORM) = freebsd { + # FreeBSD's gcc doesn't include /usr/local/* in its search paths, + # though that's where most things from ports wind up being installed. HOST_HDRS += /usr/local/include ; + HOST_LINKFLAGS += -L/usr/local/lib ; } HOST_BE_API_HEADERS =