[MacPorts] #70923: tepl @5.0.1_5: clang: error: unknown argument: '-export-symbols
MacPorts
noreply at macports.org
Wed Sep 25 18:54:53 UTC 2024
#70923: tepl @5.0.1_5: clang: error: unknown argument: '-export-symbols
---------------------+---------------------
Reporter: kencu | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: sequoia
Port: tepl |
---------------------+---------------------
Comment (by kencu):
easy enough to just strip out the symbol controls:
{{{
% diff -u tepl/meson.build.orig tepl/meson.build
--- tepl/meson.build.orig 2024-09-25 11:30:09
+++ tepl/meson.build 2024-09-25 11:52:07
@@ -132,12 +132,6 @@
tepl_lib_link_args = []
tepl_lib_link_depends = []
-if meson.get_compiler('c').get_argument_syntax() != 'msvc'
- symbol_map = meson.current_source_dir() / 'symbol.map'
- tepl_lib_link_args = '-export-symbols ' + symbol_map
- tepl_lib_link_depends = symbol_map
-endif
-
tepl_lib = library(
'tepl- at 0@'.format(TEPL_API_VERSION),
dependencies: TEPL_DEPS,
}}}
but it is proving a bit messy to get meson and tepl to accept a macos
syntax, with {{{-exported_symbols_list}}} as the link line keeps tripping
over the single quotes meson adds and I haven't been able to yet figure
out how to stop those from being added.
--
Ticket URL: <https://trac.macports.org/ticket/70923#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list