diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-06-17 21:07:32 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-06-17 21:07:32 +0200 |
commit | 756e554d5003b9d287825e45f7184142fbd67df2 (patch) | |
tree | ab731da2f6e85461e673237bf42eb074f4e1da6d /src | |
parent | 8a4512e83548294cb1567f27e0b9f7faea6ef8db (diff) |
hide unprefixed driver symbols in libcanberra.so to avoid name clashes
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/map-file | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index cf59b2e..d985ef3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -52,7 +52,9 @@ libcanberra_la_CFLAGS = \ libcanberra_la_LIBADD = \ $(VORBIS_LIBS) libcanberra_la_LDFLAGS = \ - -export-dynamic -version-info 0:2:0 + -export-dynamic \ + -version-info 0:2:0 \ + -Wl,-version-script=$(srcdir)/map-file plugin_LTLIBRARIES = diff --git a/src/map-file b/src/map-file new file mode 100644 index 0000000..2265ed0 --- /dev/null +++ b/src/map-file @@ -0,0 +1,10 @@ +CANBERRA_0 { +local: +driver_cache; +driver_cancel; +driver_change_device; +driver_change_props; +driver_destroy; +driver_open; +driver_play; +}; |