We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 521be20 commit ae2abf8Copy full SHA for ae2abf8
builders/ubuntu-python-builder.psm1
@@ -31,7 +31,7 @@ class UbuntuPythonBuilder : NixPythonBuilder {
31
$pythonBinariesLocation = $this.GetFullPythonToolcacheLocation()
32
33
### To build Python with SO we must pass full path to lib folder to the linker
34
- $env:LDFLAGS="-Wl,--rpath=${pythonBinariesLocation}/lib"
+ $env:LDFLAGS="-Wl,-rpath='\$\$ORIGIN/../lib'"
35
$configureString = "./configure"
36
$configureString += " --prefix=$pythonBinariesLocation"
37
$configureString += " --enable-shared"
0 commit comments