From e6f716f551a0a22fea95e99dfc7185196fec13c2 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Fri, 25 Jun 2010 18:23:10 +0000 Subject: [PATCH] generate liblvm2cmd exported symbols too --- tools/.exported_symbols | 5 ----- tools/Makefile.in | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/.exported_symbols b/tools/.exported_symbols index 75cb8c36a..e69de29bb 100644 --- a/tools/.exported_symbols +++ b/tools/.exported_symbols @@ -1,5 +0,0 @@ -lvm2_init -lvm2_run -lvm2_log_level -lvm2_log_fn -lvm2_exit diff --git a/tools/Makefile.in b/tools/Makefile.in index 732d51182..29b02c488 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -106,6 +106,9 @@ endif LVMLIBS += -ldevmapper +EXPORTED_HEADER = $(srcdir)/lvm2cmd.h +EXPORTED_FN_PREFIX = lvm2 + DEFS += -DLVM_SHARED_PATH=\"$(exec_prefix)/sbin/lvm\" CFLOW_LIST = lvmcmdlib.c lvm2cmd.c