Codebase list libatasmart / daeed36
Restrict the list of exported symbols to sk_*. Michael Biebl 14 years ago
3 changed file(s) with 21 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
00 libatasmart (0.17-1) UNRELEASED; urgency=low
11
22 * New upstream release.
3 * debian/patches/01-export-symbols.patch
4 - Restrict the list of exported symbols to sk_*.
35
46 -- Michael Biebl <biebl@debian.org> Tue, 27 Oct 2009 04:32:15 +0100
57
0 Description: Restrict the list of exported symbols to sk_.*
1 Use libtools' -export-symbols-regex to restrict the list of exported symbols
2 so we not accidentally export symbols like init_smart
3 Author: Michael Biebl <biebl@debian.org>
4 diff --git a/Makefile.am b/Makefile.am
5 index 381e920..b5f9476 100644
6 --- a/Makefile.am
7 +++ b/Makefile.am
8 @@ -83,7 +83,8 @@ sktest_LDADD = \
9 libatasmart_la_SOURCES = \
10 atasmart.strpool.c atasmart.h
11 libatasmart_la_LDFLAGS = \
12 - -version-info $(LIBATASMART_VERSION_INFO)
13 + -version-info $(LIBATASMART_VERSION_INFO) \
14 + -export-symbols-regex '(^sk_.*)'
15 libatasmart_la_LIBADD = \
16 $(LIBUDEV_LIBS)
17 libatasmart_la_CFLAGS = \
0 01-export-symbols.patch