File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 66// LICENSE.TXT for details.
77//------------------------------------------------------------------------------
88
9- // RUN: clang -shared - fPIC -DCLING_EXPORT=%dllexport -DBUILD_SHARED %s -o%T/libSymbols%shlibext
9+ // RUN: clang -shared % fPIC -DCLING_EXPORT=%dllexport -DBUILD_SHARED %s -o%T/libSymbols%shlibext
1010// RUN: %cling --nologo -L%T -lSymbols %s | FileCheck %s
1111
1212// Check that weak symbols do not get re-emitted (ROOT-6124)
Original file line number Diff line number Diff line change @@ -276,8 +276,10 @@ else:
276276
277277if platform .system () in ['Windows' ]:
278278 config .substitutions .append (('%dllexport' , '"__declspec(dllexport)"' ))
279+ config .substitutions .append (('%fPIC' , '' ))
279280else :
280281 config .substitutions .append (('%dllexport' , '' ))
282+ config .substitutions .append (('%fPIC' , '-fPIC' ))
281283
282284if IsWindows and execute_external :
283285 config .substitutions .append (('%mkdir' , 'mkdir' ))
You can’t perform that action at this time.
0 commit comments