diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-15 13:04:01 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-15 13:04:01 +0300 |
| commit | dcebf9c7f954a55350b68d0ead1935612c4e2e05 (patch) | |
| tree | 3eb3e9f6154c6760bcb89a565f8ddc8f8b66cb90 /src/meson.build | |
| parent | bd8222e615134c3ec5e7a07b6b1fa97c9bd4a471 (diff) | |
Rename the library to wsap_vtcore
ncurses installs <term.h> and defines struct term. In a file that
includes both headers, an ncurses TERMINAL * and this library's terminal
are silently the same type. The name wsap_vtcore avoids the clash.
The public header is now <wsap_vtcore/wsap_vtcore.h>. Every global
symbol uses the wsap_vtcore_ prefix, every macro uses WSAP_VTCORE_, and
the shared library is libwsap_vtcore.so.0. The default terminal name is
now "wsap_vtcore". The ISA override variable is WSAP_VTCORE_ISA.
No other behavior changes. The amalgamation writes wsap_vtcore.c and
wsap_vtcore.h.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Diffstat (limited to 'src/meson.build')
| -rw-r--r-- | src/meson.build | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/meson.build b/src/meson.build index 7684275..ce91573 100644 --- a/src/meson.build +++ b/src/meson.build @@ -2,11 +2,11 @@ subdir('osc') # The SONAME carries the major version. An ABI break bumps it, so an old # binary keeps the old library. -term_soversion = meson.project_version().split('.')[0] +wsap_vtcore_soversion = meson.project_version().split('.')[0] # The x86-64 SIMD kernels pick their level at run time (see simd.h), so the # library needs no ISA flags. -march in c_args sets the lowest level. -term_lib = both_libraries('term', +wsap_vtcore_lib = both_libraries('wsap_vtcore', 'core.c', 'escape.c', 'fastcsi.c', @@ -23,12 +23,12 @@ term_lib = both_libraries('term', 'term.c', 'text.c', 'text_run.c', - term_osc_src, - include_directories: term_private_inc, + wsap_vtcore_osc_src, + include_directories: wsap_vtcore_private_inc, dependencies: [m_dep, thread_dep], gnu_symbol_visibility: 'hidden', version: meson.project_version(), - soversion: term_soversion, + soversion: wsap_vtcore_soversion, install: true ) |
