Consider unsetting (some of) LDFLAGS set by conda compiler packages in IGWN Conda Distribution environments
As @karl.wette notes over on lscsoft/lalsuite#633 (closed) the default set of LDFLAGS
breaks building packages into custom prefixes using an IGWN Conda Distribution environment. This is mainly because of conda-forge's use of -rpath
and -rpath-link
flags.
The -rpath{-link}
flags are critical to the way that the conda environments link together at runtime, but there may be a way to excise them from LDFLAGS
so that developers don't see those flags. However, I'm not convinced how well this would work. Time to experiment.