[haiku-commits] Re: haiku: hrev46142 - src/build/libpackage build/jam

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 30 Sep 2013 02:06:03 +0200

On 09/30/2013 01:50 AM, anevilyak@xxxxxxxxx wrote:
diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup
index 1abbfe4..ad8f2c3 100644
--- a/build/jam/BuildSetup
+++ b/build/jam/BuildSetup
@@ -266,6 +266,10 @@ 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.
@@ -571,6 +575,10 @@ HOST_BE_API_C++FLAGS = ;
  # platform, e.g. containing missing POSIX/GNU headers.
  HOST_HDRS += [ FDirName $(HAIKU_TOP) headers build host $(HOST_PLATFORM) ] ;

+if $(HOST_PLATFORM) = freebsd {
+       HOST_HDRS += /usr/local/include ;
+}

I'd rather put both here, since they kind of belong together.

CU, Ingo


Other related posts: