Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find boot files relative to executable by default #755

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Commits on Nov 16, 2023

  1. find boot files relative to the executable by default

    Building on recent support for "%x" everywhere, the change here makes
    the default boot-file search path
    
     "%x:%x/../lib/csv%v/%m:%x/../../boot/%m"
    
    which searches in the immediate directory, then in the place relative
    to the executable's install location to reach installed boot files,
    and then relative to the workarea executable to reach workarea boot
    files. More precisely, the middle path in the default takes into
    account the configured bin and lib target directories.
    
    As a result of this change, it's much easier to run a just-built
    executable before installing it, and installing to a non-system
    directory produces something that you can move around in the
    filesystem.
    
    As a further step to make things work in the default way, `configure`
    now supports `--prefix` as an alias for `--installprefix`.
    
    The `--installabsolute` flag uses the old default search path, which
    is absolute relative to the target installation directory.
    mflatt committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    0f440ff View commit details
    Browse the repository at this point in the history