Skip to content

community/caddy: compile statically by using internal linker

Leo requested to merge Leo/aports:caddy into master

Can you check this works on your machine @mpolanski ?

$ readelf -d /usr/sbin/caddy

There is no dynamic section in this file.
$ ldd /usr/sbin/caddy
/lib/ /usr/sbin/caddy: Not a valid dynamic program
$ file /usr/sbin/caddy
/usr/sbin/caddy: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=cmM8v6G-_YB9cCIVH8Ay/3BTx81fgXlY7LySpSriJ/KgX7VCIQ3eDXCzn5ed53/qX-Ir8BqJ1hbbe97o8nT, stripped

Merge request reports