From 03a321e5580b6331e11c83fada6e2b8d16523a71 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sat, 5 Nov 2016 06:16:07 -0500 Subject: [PATCH] disable symbol hiding for now --- CMakeLists.txt | 2 ++ Makefile.am.common | 1 + 2 files changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93f3ff6..df300af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,6 +74,8 @@ endif() add_definitions(-DLIBRESSL_INTERNAL) add_definitions(-DOPENSSL_NO_HW_PADLOCK) +add_definitions(-D__BEGIN_HIDDEN_DECLS=) +add_definitions(-D__END_HIDDEN_DECLS=) set(CMAKE_POSITION_INDEPENDENT_CODE true) diff --git a/Makefile.am.common b/Makefile.am.common index 49019ec..87aa807 100644 --- a/Makefile.am.common +++ b/Makefile.am.common @@ -1,2 +1,3 @@ AM_CFLAGS = AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/compat -DLIBRESSL_INTERNAL +AM_CPPFLAGS += -D__BEGIN_HIDDEN_DECLS= -D__END_HIDDEN_DECLS=