From cac42fb80ab31443dc507297b99c8704a397b2d8 Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 21 Feb 2022 17:31:46 +0000 Subject: Improve options for musl static compiling, that works with openssl --- config.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config.mk b/config.mk index f763235..b8065c2 100644 --- a/config.mk +++ b/config.mk @@ -5,11 +5,12 @@ RELDATE = 2015-07-28 # paths PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man +OPENSSL = /home/nick/tmp/openssl-1.1.1m LIBS = -lssl -lcrypto -CFLAGS = -std=c99 -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L \ - -DVERSION=\"$(VERSION)\" +CFLAGS = -std=c99 -pedantic -Wall -Wextra -g -D_POSIX_C_SOURCE=200112L \ + -DVERSION=\"$(VERSION)\" -I$(OPENSSL)/include W32TCLKIT = tclkit-8.5.9-win32.upx.exe @@ -18,8 +19,8 @@ CC = cc LDFLAGS = $(LIBS) # musl static -#CC = musl-gcc -#LDFLAGS = $(LIBS) -static #-s +#CC = musl-gcc -static +#LDFLAGS = $(LIBS) -L$(OPENSSL) -static #-s # mingw #CC = i686-w64-mingw32-gcc -- cgit v1.2.3