Skip to content

Commit

Permalink
build(makefile): add md5 for non-Darwin OpenSSL build
Browse files Browse the repository at this point in the history
  • Loading branch information
parfeon committed Dec 20, 2024
1 parent 9ca0319 commit 7174666
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make/common/source_files.mk
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ CORE_OPENSSL_SOURCE_FILES = \
# `CORE_OPENSSL_SOURCE_FILES` extension for POSIX build.
CORE_OPENSSL_SOURCE_FILES_POSIX = \
../openssl/pbpal_add_system_certs_posix.c
CORE_OPENSSL_SOURCE_FILES_NOT_DARWIN = \
../lib/md5/md5.c

# `CORE_OPENSSL_SOURCE_FILES` extension for Windows build.
CORE_OPENSSL_SOURCE_FILES_WINDOWS = \
Expand Down
4 changes: 4 additions & 0 deletions make/posix_source_files.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ ifeq ($(OPENSSL),1)
$(CORE_OPENSSL_SOURCE_FILES) \
$(CORE_OPENSSL_SOURCE_FILES_POSIX)

ifneq ($(shell uname),Darwin)
SOURCE_FILES += $(CORE_OPENSSL_SOURCE_FILES_NOT_DARWIN)
endif

CALLBACK_SOURCE_FILES += \
$(CALLBACK_CORE_OPENSSL_SOURCE_FILES) \
$(CALLBACK_CORE_OPENSSL_SOURCE_FILES_POSIX)
Expand Down

0 comments on commit 7174666

Please sign in to comment.