Building 'delta' on Alpine Linux
Short post for a change this time. :-)
I've just built delta on an Alpine Linux image. There were a couple of dependencies I had to install before it would build, and one of them puzzled me for a bit.
Cargo was building and failed on crti.o
:
= note: /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find crti.o: No such file or directorycollect2: error: ld returned 1 exit status
apk search
didn't show anything useful. So, for myself in the future (or anyone else who happens to be searching for this) - the package that provides crti.o
for Alpine is musl-dev
.