Macports - how to install libllvm to another place

The macports project allows to install rust. Up to now rust is installed with the standard llvm compiler and not the rust internal llvm-project fork. Now the plan is to switch and use the rust maintained llvm fork. There is however a problem that rust install the llvm library in the default library location. Instead it should be in a private library location.

Is there a configure option which allows to install the rust version of llvm in a rust private place. The default library location for macports is

/opt/local/lib/libLLVM.dylib

How can I place the llvm for example in

/opt/local/lib/rust/libLLVM.dylib

The problem is described here:

1 Like