aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-11-14 09:57:01 -0500
committerMike Frysinger <vapier@gentoo.org>2016-11-14 09:57:01 -0500
commitabd7ee6dce8fe692897ac9201301c7c2038cecf6 (patch)
tree6777efb73dfccce9a15a93ebe1a3aa87d4ecb860
parentpaxldso: properly decode the flags bits in the cache (diff)
downloadpax-utils-abd7ee6dce8fe692897ac9201301c7c2038cecf6.tar.gz
pax-utils-abd7ee6dce8fe692897ac9201301c7c2038cecf6.tar.bz2
pax-utils-abd7ee6dce8fe692897ac9201301c7c2038cecf6.zip
paxldso: fix building when ldso support is disabled
-rw-r--r--paxldso.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/paxldso.c b/paxldso.c
index 2227387..93eaf97 100644
--- a/paxldso.c
+++ b/paxldso.c
@@ -362,8 +362,10 @@ static void ldso_config_cleanup(void)
# define ldso_config_cleanup()
#endif /* PAX_LDSO_CONFIG */
+#ifndef paxldso_cleanup
void paxldso_cleanup(void)
{
ldso_cache_cleanup();
ldso_config_cleanup();
}
+#endif