cil: re-enable DISABLE_SYMVER define
Fix issues like: <inline asm>:1:1: error: unknown directive .symver cil_build_policydb_pdb, cil_build_policydb@LIBSEPOL_1.0 Which was caused by the DISABLE_SYMVER define not being defined for static, Mac or Android builds. Acked-by: Joshua Brindle <joshua.brindle@crunchydata.com> Signed-off-by: William Roberts <william.c.roberts@intel.com>
This commit is contained in:
parent
c018147da9
commit
28768cee5e
|
@ -51,6 +51,10 @@
|
||||||
#include "cil_policy.h"
|
#include "cil_policy.h"
|
||||||
#include "cil_strpool.h"
|
#include "cil_strpool.h"
|
||||||
|
|
||||||
|
#if !defined(SHARED) || defined(ANDROID) || defined(__APPLE__)
|
||||||
|
#define DISABLE_SYMVER 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef DISABLE_SYMVER
|
#ifndef DISABLE_SYMVER
|
||||||
asm(".symver cil_build_policydb_pdb, cil_build_policydb@LIBSEPOL_1.0");
|
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");
|
asm(".symver cil_build_policydb_create_pdb, cil_build_policydb@@LIBSEPOL_1.1");
|
||||||
|
|
Loading…
Reference in New Issue