projects
/
platform
/
upstream
/
libatasmart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a6caec
)
Restrict the list of exported symbols to sk_.*
author
Michael Biebl
<biebl@debian.org>
Tue, 27 Oct 2009 21:53:50 +0000
(22:53 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 27 Oct 2009 21:53:50 +0000
(22:53 +0100)
Use libtools' -export-symbols-regex to restrict the list of exported
symbols so we not accidentally export symbols like init_smart
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
381e920
..
b5f9476
100644
(file)
--- 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 = \