Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Compile against musl #16
Just started playing around with this and had some fun getting things to compile on apline linux (using musl).
Not really a C-coder so probably don't know what I'm doing. But if you have the time I would appreciate some feedback on these changes. Mostly aiming towards two goals, make visual studio code not show warnings, and make the following docker build complete successfully.
FROM alpine:latest as builder RUN apk add --no-cache autoconf automake build-base libressl-dev linux-headers COPY pixelserv-tls/ /usr/src/pixelserv-tls ENV CFLAGS -Wextra -flto WORKDIR /usr/src/pixelserv-tls RUN set -ex; autoreconf -i; ./configure; make
(the err thing was due to a linker warning about it being redefined, I don't expect this to be merged as is as the comment states, a struct is probably a better approach)