[haiku-commits] Re: haiku: hrev46137 - in src: apps/haiku-depot kits/package bin/pkgman kits/package/manager servers/package

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 30 Sep 2013 01:42:10 +0200

On 09/30/2013 01:38 AM, Rene Gollent wrote:
On 9/29/13, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
If you search for "HOST_HDRS" you'll find a few occurrences. I would add
a special case for FreeBSD after that (same variable).

It's not just the headers though, I also need to adjust the linker
flags to look in /usr/local/lib. I assume for the latter, something
this would suffice?

diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup
index 1abbfe4..8414fdc 100644
--- a/build/jam/BuildSetup
+++ b/build/jam/BuildSetup
@@ -266,6 +271,10 @@ if $(HOST_PLATFORM) = cygwin {
                --enable-auto-import ;
  }

+if $(HOST_PLATFORM) = freebsd {
+       HOST_LINKFLAGS += -L/usr/local/lib ;
+}
+

Sure, looks good.

CU, Ingo


Other related posts: