From eb6d2d8737a72bb8466293a7649fea03f45c69d5 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 27 Oct 2009 22:53:50 +0100 Subject: Restrict the list of exported symbols to sk_.* Use libtools' -export-symbols-regex to restrict the list of exported symbols so we not accidentally export symbols like init_smart --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 381e920..b5f9476 100644 --- a/Makefile.am +++ b/Makefile.am @@ -83,7 +83,8 @@ sktest_LDADD = \ libatasmart_la_SOURCES = \ atasmart.strpool.c atasmart.h libatasmart_la_LDFLAGS = \ - -version-info $(LIBATASMART_VERSION_INFO) + -version-info $(LIBATASMART_VERSION_INFO) \ + -export-symbols-regex '(^sk_.*)' libatasmart_la_LIBADD = \ $(LIBUDEV_LIBS) libatasmart_la_CFLAGS = \ -- cgit