Replace the hideous exported symbols regex with a simple list. The regex is completely unreadable and causes build errors on Solaris.
Unified · Split
| @@ -87,7 +87,9 @@ endif · 86 unmodified lines | |||
| 87 | 87 | ||
| 88 | libsox_la_CFLAGS = | 88 | libsox_la_CFLAGS = |
| 89 | libsox_la_LDFLAGS = -no-undefined -version-info @SHLIB_VERSION@ \ | 89 | libsox_la_LDFLAGS = -no-undefined -version-info @SHLIB_VERSION@ \ |
| 90 | -export-symbols-regex '^(sox_.*|lsx_(([cm]|re)alloc.*|check_read_params|(close|open)_dllibrary|(debug(_more|_most)?|fail|report|warn)_impl|eof|error|fail_errno|filelength|find_(enum_(text|value)|file_extension)|flush|getopt(_init)?|lpc10_(create_(de|en)coder_state|(de|en)code)|raw(read|write)|read(_b_buf|buf|chars)|rewind|seeki|sigfigs3p?|strcasecmp|strdup|tell|unreadb|write(b|_b_buf|buf|s)))$$' | 90 | -export-symbols $(srcdir)/libsox.sym |
| 91 | |||
| 92 | EXTRA_libsox_la_DEPENDENCIES = $(srcdir)/libsox.sym | ||
| 91 | 93 | ||
| 92 | if HAVE_LIBLTDL | 94 | if HAVE_LIBLTDL |
| 93 | libsox_la_CFLAGS += $(LIBLTDL_CFLAGS) | 95 | libsox_la_CFLAGS += $(LIBLTDL_CFLAGS) |
| @@ -0,0 +1,95 @@ | |||
| 1 | lsx_calloc | ||
| 2 | lsx_check_read_params | ||
| 3 | lsx_close_dllibrary | ||
| 4 | lsx_debug_impl | ||
| 5 | lsx_debug_more_impl | ||
| 6 | lsx_debug_most_impl | ||
| 7 | lsx_eof | ||
| 8 | lsx_error | ||
| 9 | lsx_fail_errno | ||
| 10 | lsx_fail_impl | ||
| 11 | lsx_filelength | ||
| 12 | lsx_find_enum_text | ||
| 13 | lsx_find_enum_value | ||
| 14 | lsx_find_file_extension | ||
| 15 | lsx_flush | ||
| 16 | lsx_getopt | ||
| 17 | lsx_getopt_init | ||
| 18 | lsx_lpc10_create_decoder_state | ||
| 19 | lsx_lpc10_create_encoder_state | ||
| 20 | lsx_lpc10_decode | ||
| 21 | lsx_lpc10_encode | ||
| 22 | lsx_malloc | ||
| 23 | lsx_open_dllibrary | ||
| 24 | lsx_rawread | ||
| 25 | lsx_rawwrite | ||
| 26 | lsx_read_b_buf | ||
| 27 | lsx_readbuf | ||
| 28 | lsx_readchars | ||
| 29 | lsx_realloc | ||
| 30 | lsx_realloc_array | ||
| 31 | lsx_report_impl | ||
| 32 | lsx_rewind | ||
| 33 | lsx_seeki | ||
| 34 | lsx_sigfigs3 | ||
| 35 | lsx_sigfigs3p | ||
| 36 | lsx_strcasecmp | ||
| 37 | lsx_strdup | ||
| 38 | lsx_tell | ||
| 39 | lsx_unreadb | ||
| 40 | lsx_warn_impl | ||
| 41 | lsx_write_b_buf | ||
| 42 | lsx_writeb | ||
| 43 | lsx_writebuf | ||
| 44 | lsx_writes | ||
| 45 | sox_add_effect | ||
| 46 | sox_append_comment | ||
| 47 | sox_append_comments | ||
| 48 | sox_basename | ||
| 49 | sox_close | ||
| 50 | sox_copy_comments | ||
| 51 | sox_create_effect | ||
| 52 | sox_create_effects_chain | ||
| 53 | sox_delete_comments | ||
| 54 | sox_delete_effect | ||
| 55 | sox_delete_effect_last | ||
| 56 | sox_delete_effects | ||
| 57 | sox_delete_effects_chain | ||
| 58 | sox_effect_options | ||
| 59 | sox_effects_clips | ||
| 60 | sox_find_comment | ||
| 61 | sox_find_effect | ||
| 62 | sox_find_format | ||
| 63 | sox_flow_effects | ||
| 64 | sox_format_init | ||
| 65 | sox_format_quit | ||
| 66 | sox_format_supports_encoding | ||
| 67 | sox_get_effect_fns | ||
| 68 | sox_get_effects_globals | ||
| 69 | sox_get_encodings_info | ||
| 70 | sox_get_format_fns | ||
| 71 | sox_get_globals | ||
| 72 | sox_init | ||
| 73 | sox_init_encodinginfo | ||
| 74 | sox_is_playlist | ||
| 75 | sox_num_comments | ||
| 76 | sox_open_mem_read | ||
| 77 | sox_open_mem_write | ||
| 78 | sox_open_memstream_write | ||
| 79 | sox_open_read | ||
| 80 | sox_open_write | ||
| 81 | sox_parse_playlist | ||
| 82 | sox_pop_effect_last | ||
| 83 | sox_precision | ||
| 84 | sox_push_effect_last | ||
| 85 | sox_quit | ||
| 86 | sox_read | ||
| 87 | sox_seek | ||
| 88 | sox_stop_effect | ||
| 89 | sox_strerror | ||
| 90 | sox_trim_clear_start | ||
| 91 | sox_trim_get_start | ||
| 92 | sox_version | ||
| 93 | sox_version_info | ||
| 94 | sox_write | ||
| 95 | sox_write_handler | ||