diff --git a/builders/ubuntu-python-builder.psm1 b/builders/ubuntu-python-builder.psm1 index 3e0ce37e9..5f3e6fab4 100644 --- a/builders/ubuntu-python-builder.psm1 +++ b/builders/ubuntu-python-builder.psm1 @@ -30,7 +30,7 @@ class UbuntuPythonBuilder : NixPythonBuilder { $pythonBinariesLocation = $this.GetFullPythonToolcacheLocation() - ### To build Python with SO we must pass full path to lib folder to the linker + ### To build Python with SO, passing relative path W.r.t to the binary location. $env:LDFLAGS="-Wl,-rpath='\$\$ORIGIN/../lib'" $configureString = "./configure" $configureString += " --prefix=$pythonBinariesLocation"