Skip to content

Commit

Permalink
pixi: Setup LDFLAGS to avoid issue on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Oct 25, 2024
1 parent a58fe53 commit bf8099b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/activation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ unset DEBUG_CPPFLAGS
unset DEBUG_CXXFLAGS
unset LDFLAGS

# On OSX it's really important to setup these linker path or the linker
# will use the system libc++ that can be incompatible with our dependencies
export LDFLAGS="-Wl,-rpath,$CONDA_PREFIX/lib -L$CONDA_PREFIX/lib"

# Setup ccache
export CMAKE_CXX_COMPILER_LAUNCHER=ccache

Expand Down

0 comments on commit bf8099b

Please sign in to comment.