mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 16:50:06 +02:00
27 lines
938 B
Plaintext
27 lines
938 B
Plaintext
From a13e7560a5908353b32f7a1151ce0e7ad792316b Mon Sep 17 00:00:00 2001
|
|
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
|
Date: Mon, 3 Aug 2020 11:56:45 +0200
|
|
Subject: Fix include path for boost
|
|
|
|
|
|
diff --git a/mesonbuild/dependencies/boost.py b/mesonbuild/dependencies/boost.py
|
|
index 907c0c2..ca5ad8a 100644
|
|
--- a/mesonbuild/dependencies/boost.py
|
|
+++ b/mesonbuild/dependencies/boost.py
|
|
@@ -491,10 +491,11 @@ class BoostDependency(ExternalDependency):
|
|
|
|
def detect_inc_dirs(self, root: Path) -> T.List[BoostIncludeDir]:
|
|
candidates = [] # type: T.List[Path]
|
|
- inc_root = root / 'include'
|
|
+ inc_root = root / 'headers'
|
|
|
|
candidates += [root / 'boost']
|
|
candidates += [inc_root / 'boost']
|
|
+ candidates += [inc_root / 'x86' / 'boost']
|
|
if inc_root.is_dir():
|
|
for i in inc_root.iterdir():
|
|
if not i.is_dir() or not i.name.startswith('boost-'):
|
|
--
|
|
2.27.0
|
|
|