bugfix in ssl handling
This commit is contained in:
parent
e2ed06a0f1
commit
cf61ad8061
2 changed files with 728 additions and 578 deletions
7
Makefile
7
Makefile
|
|
@ -5,6 +5,13 @@ CC ?= gcc
|
|||
CFLAGS ?= -Wall -Wextra -pedantic
|
||||
LDLIBS ?= -lssl -lcrypto -ldl
|
||||
|
||||
# Homebrew OpenSSL on macOS
|
||||
BREW_SSL := $(shell brew --prefix openssl 2>/dev/null)
|
||||
ifneq ($(BREW_SSL),)
|
||||
CFLAGS += -I$(BREW_SSL)/include
|
||||
LDFLAGS += -L$(BREW_SSL)/lib
|
||||
endif
|
||||
|
||||
.PHONY: all clean install uninstall
|
||||
|
||||
all: calc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue