• Christiaan Baaij's avatar
    Add `--dynlibdir` · d2da6558
    Christiaan Baaij authored
    `--dynlibdir` indicates the directory in which dynamic libraries
    are installed. By default this setting is equal to:
    The static libraries will still end up in:
    With `$libsubdir/$abi` as the default directory for dynamic
    libraries, dynamic libraries will by default end up in a
    single shared directory (per package database). This has the
    potential to reduce start-up times for dynamically linked
    executable as only one RPATH per package database will be
    This commit uses the functionality defined in
    to tell GHC's > 8.0.1 package database that dynamic libraries
    are copied to the directories mentioned in the