diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-03 18:42:02 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-03 18:42:02 +0100 |
commit | 8299ba653b6a5bc85cf16de89df6d52055895512 (patch) | |
tree | 65b6284fa3f01e9340b03a13ccc90ee5b47490c4 /Makefile | |
parent | a82d947a594b01af54e056473799ebab619e2bd2 (diff) |
Fix exports
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -11,7 +11,11 @@ SONAME1=libreichwein.so SONAME2=libreichwein.so.0 SONAME3=libreichwein.so.0.0.0 -CXXFLAGS+= -fvisibility=hidden -fPIC +# By default, don't export. Explicitly mark exports in C++ with: +# __attribute__((visibility("default"))) +CXXFLAGS+=-fvisibility=hidden + +CXXFLAGS+=-fPIC PROGSRC=\ file.cpp \ |