Skip to content

Commit f725d04

Browse files
committed
SERVER-19661 Give vendored include paths higher priority
1 parent 811f9dc commit f725d04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/third_party/SConscript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ if not use_system_version_of_library('intel_decimal128'):
7272
('intel_decimal128', '#/src/third_party/IntelRDFPMathLib20U1/LIBRARY'))
7373

7474
def injectAllThirdPartyIncludePaths(thisEnv):
75-
thisEnv.AppendUnique(CPPPATH=[entry[1] for entry in thirdPartyIncludePathList])
75+
thisEnv.PrependUnique(CPPPATH=[entry[1] for entry in thirdPartyIncludePathList])
7676

7777
def injectThirdPartyIncludePaths(thisEnv, libraries):
78-
thisEnv.AppendUnique(CPPPATH=[
78+
thisEnv.PrependUnique(CPPPATH=[
7979
entry[1] for entry in thirdPartyIncludePathList if entry[0] in libraries])
8080

8181
env.AddMethod(injectAllThirdPartyIncludePaths, 'InjectAllThirdPartyIncludePaths')

0 commit comments

Comments
 (0)