Message ID | 20200326154641.7253-3-william.c.roberts@intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [1/2] cil: rm dead dso.h file | expand |
diff --git a/libsepol/cil/src/cil.c b/libsepol/cil/src/cil.c index 12cc28eff389..c8e27c04c954 100644 --- a/libsepol/cil/src/cil.c +++ b/libsepol/cil/src/cil.c @@ -51,6 +51,10 @@ #include "cil_policy.h" #include "cil_strpool.h" +#if !defined(SHARED) || defined(ANDROID) || defined(__APPLE__) + #define DISABLE_SYMVER 1 +#endif + #ifndef DISABLE_SYMVER asm(".symver cil_build_policydb_pdb, cil_build_policydb@LIBSEPOL_1.0"); asm(".symver cil_build_policydb_create_pdb, cil_build_policydb@@LIBSEPOL_1.1");