Add Option to Make lz4frame_static.h Functions Visible in Shared Objects
authorW. Felix Handte <w@felixhandte.com>
Mon, 8 Jan 2018 19:46:22 +0000 (14:46 -0500)
committerW. Felix Handte <w@felixhandte.com>
Mon, 8 Jan 2018 19:46:22 +0000 (14:46 -0500)
commitebef34fe79bc6412894f6fb27bca60acf930a311
tree03fb8dcdd97d4ebfe24abc6329e2fa58bab91aa4
parent0b203b04f6b5085f9f98c8c78c6535399264d755
Add Option to Make lz4frame_static.h Functions Visible in Shared Objects

In some contexts, *cough*like at facebook*cough*, dynamic linking is used in
contexts which aren't truly dynamic. That is, the guarantee is maintained that
a program will only ever execute against the library version it was compiled
to interact with.

For those situations, introduce a compile-time flag that overrides hiding
these unstable APIs in shared objects.
lib/lz4frame_static.h