summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ddc7a7a..2fdaf04 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ OBJS += \
CC := $(CXX)
#-Werror
-CXXFLAGS += -Wall -std=c++0x -fmessage-length=0 -fPIC
+CXXFLAGS += -Wall -std=c++0x -fmessage-length=0 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
CPPFLAGS += -I=/usr/include/jsoncpp -Iinclude
LDFLAGS += -s -shared -Wl,-soname,$(APPNAME).so.0