diff --git a/Makefile.am b/Makefile.am index 3cbf954..8f25c28 100644 --- a/Makefile.am +++ b/Makefile.am @@ -39,12 +39,12 @@ protobuf_c_libprotobuf_c_la_SOURCES = \ protobuf_c_libprotobuf_c_la_LDFLAGS = $(AM_LDFLAGS) \ -version-info $(LIBPROTOBUF_C_CURRENT):$(LIBPROTOBUF_C_REVISION):$(LIBPROTOBUF_C_AGE) \ - -Wl,--version-script=$(top_srcdir)/protobuf-c/libprotobuf-c.sym \ + -export-symbols-regex "^(protobuf_c_[a-z].*)" \ -no-undefined pkgconfig_DATA += protobuf-c/libprotobuf-c.pc CLEANFILES += protobuf-c/libprotobuf-c.pc -EXTRA_DIST += protobuf-c/libprotobuf-c.pc.in protobuf-c/libprotobuf-c.sym +EXTRA_DIST += protobuf-c/libprotobuf-c.pc.in # # protoc-c diff --git a/protobuf-c/libprotobuf-c.sym b/protobuf-c/libprotobuf-c.sym deleted file mode 100644 index c8d546b..0000000 --- a/protobuf-c/libprotobuf-c.sym +++ /dev/null @@ -1,24 +0,0 @@ -LIBPROTOBUF_C_0.16 { -global: - protobuf_c_buffer_simple_append; - protobuf_c_default_allocator; - protobuf_c_enum_descriptor_get_value; - protobuf_c_enum_descriptor_get_value_by_name; - protobuf_c_major; - protobuf_c_message_check; - protobuf_c_message_descriptor_get_field; - protobuf_c_message_descriptor_get_field_by_name; - protobuf_c_message_free_unpacked; - protobuf_c_message_get_packed_size; - protobuf_c_message_init; - protobuf_c_message_pack; - protobuf_c_message_pack_to_buffer; - protobuf_c_message_unpack; - protobuf_c_minor; - protobuf_c_service_descriptor_get_method_by_name; - protobuf_c_service_destroy; - protobuf_c_service_generated_init; - protobuf_c_service_invoke_internal; -local: - *; -};