URI:
       build: Use LIBPREFIX for crt files in musl - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 99a2aaeb775c3ba5d69e48b2501af71fce63e648
   DIR parent 28c274e634e5bb1a8a99ee403f1373b6db7fcd07
  HTML Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
       Date:   Wed, 18 Feb 2026 21:01:47 +0100
       
       build: Use LIBPREFIX for crt files in musl
       
       In the case of musl there is a total disconnection between the prefix used by
       scc and the prefix used when building and installing musl. In order to  make
       easier the configuration of musl this commits just insert the prefix obtained
       by the output of gcc.
       
       Diffstat:
         M include/scc/bits/scc/sys-musl.h     |       7 ++++---
       
       1 file changed, 4 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/include/scc/bits/scc/sys-musl.h b/include/scc/bits/scc/sys-musl.h
       @@ -18,12 +18,13 @@ char *ldcmd[] = {
                "-o","%o",
                "-L","%p/lib/",
                "-L",GCCLIBPATH,
       -        "%p/lib/Scrt1.o",
       -        "%p/lib/crti.o",
       +        "-L",LIBPREFIX "/lib",
       +        LIBPREFIX "/lib/Scrt1.o",
       +        LIBPREFIX "/lib/crti.o",
                GCCLIBPATH "/crtbeginS.o",
                "%c",
                GCCLIBPATH "/crtendS.o",
       -        "%p/lib/crtn.o",
       +        LIBPREFIX "/lib/crtn.o",
                "-lc",
                "-lgcc",
                "-lgcc_eh",