• eleijeep@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    31 minutes ago

    I see what you mean, very clever solution if a program is using the configure prefix by compiling it into the binary.

    That can’t be very common though is it? Usually the configure prefix is just used by make install to install the binaries into the prefix. If the compiled program needs to know where it is installed it can read argv[0].

    Have you seen this used somewhere?