Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3db77b
commit 968a4e0
Showing
3 changed files
with
533 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# WARNING: do not run this directly, it should be run by the master Makefile | ||
|
||
include ../../Makefile.defs | ||
auto_gen= | ||
NAME=proto_wss.so | ||
|
||
ETC_DIR?=../../etc/ | ||
|
||
ifeq ($(CROSS_COMPILE),) | ||
SSL_BUILDER=$(shell \ | ||
if pkg-config --exists libssl; then \ | ||
echo 'pkg-config libssl'; \ | ||
fi) | ||
endif | ||
|
||
ifneq ($(SSL_BUILDER),) | ||
DEFS += $(shell $(SSL_BUILDER) --cflags) | ||
LIBS += $(shell $(SSL_BUILDER) --libs) | ||
else | ||
DEFS += -I$(LOCALBASE)/ssl/include \ | ||
-I$(LOCALBASE)/include | ||
LIBS += -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib \ | ||
-L$(LOCALBASE)/lib64 -L$(LOCALBASE)/ssl/lib64 \ | ||
-lssl -lcrypto | ||
endif | ||
|
||
include ../../Makefile.modules |
Oops, something went wrong.