Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions configure/CONFIG_SITE
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ CROSS_COMPILER_TARGET_ARCHS =
# take effect.
#IOCS_APPL_TOP = </IOC/path/to/application/top>

# ======================================================
# To enable TLS uncomment the appropriate line or
# include in your private $(TOP)/../CONFIG_SITE.local
# ======================================================
# USR_CPPFLAGS += -DPVXS_ENABLE_OPENSSL
# P4P_WITH_TLS = YES

-include $(TOP)/configure/CONFIG_SITE.local

-include $(TOP)/../CONFIG_SITE.local
Expand Down
12 changes: 12 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ include $(TOP)/configure/CONFIG_PY
# return c++ types.
USR_CPPFLAGS += -D__PYX_EXTERN_C=extern


ifeq ($(P4P_WITH_TLS),YES)
# ==========================================================
# LINK "NON EPICS" EXTERNAL PACKAGE LIBRARIES Dynamically
# ssl crypto event event_openssl event_pthreads are derived
# from the PVXS module
# ==========================================================
LIB_SYS_LIBS += $(LIBEVENT_SYS_LIBS)
LIB_SYS_LIBS += $(LIBEVENT_BUNDLE_LIBS)
# =======================================================
endif

# place .so in subdirectory
INSTALL_SHRLIB = $(PY_INSTALL_DIR)/p4p

Expand Down