Meson: disable libversion info for Windows (#9858)
This commit is contained in:
parent
813348d6ab
commit
40b4a5b557
|
@ -113,7 +113,7 @@ r_anal = library('r_anal', files,
|
|||
],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -168,7 +168,7 @@ r_asm = library('r_asm', files,
|
|||
],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -123,7 +123,7 @@ r_bin = library('r_bin', files,
|
|||
link_with: [r_util, r_io, r_socket, r_magic, libr_shlr],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -18,7 +18,7 @@ r_bp = library('r_bp', files,
|
|||
link_with: [r_util],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -8,7 +8,7 @@ r_config = library('r_config', files,
|
|||
link_with: [r_util, libr_shlr],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -22,7 +22,7 @@ r_cons = library('r_cons', files,
|
|||
link_with: [r_util, libr_shlr],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -80,7 +80,7 @@ r_core = library('r_core', files,
|
|||
dependencies: [platform_deps],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -26,7 +26,7 @@ r_crypto = library('r_crypto', files,
|
|||
c_args: ['-DCORELIB=1'],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkg = import('pkgconfig')
|
||||
|
|
|
@ -70,7 +70,7 @@ r_debug = library('r_debug', files,
|
|||
],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -21,7 +21,7 @@ r_egg = library('r_egg', files,
|
|||
link_with: [r_util, r_asm, r_syscall, libr_shlr],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -10,7 +10,7 @@ r_flag = library('r_flag', files,
|
|||
link_with: [r_util, libr_shlr],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -35,7 +35,7 @@ r_fs = library('r_fs', files,
|
|||
link_with: [r_util, libr_shlr],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -20,7 +20,7 @@ r_hash = library('r_hash', files,
|
|||
link_with: [r_util],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -73,7 +73,7 @@ r_io = library('r_io', files,
|
|||
c_args: ['-DCORELIB=1'],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -14,7 +14,7 @@ r_lang = library('r_lang', files,
|
|||
link_with: [r_util, r_cons],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -15,7 +15,7 @@ r_magic = library('r_magic', files,
|
|||
link_with: [r_util],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -28,7 +28,7 @@ r_parse = library('r_parse', files,
|
|||
link_with: [r_util, r_flag, r_syscall, r_reg, libr_shlr],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -12,7 +12,7 @@ r_reg = library('r_reg', files,
|
|||
link_with: [r_util],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -15,7 +15,7 @@ r_search = library('r_search', files,
|
|||
link_with: [r_util],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -16,7 +16,7 @@ r_socket = library('r_socket', files,
|
|||
c_args: ['-DCORELIB=1'],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -8,7 +8,7 @@ r_syscall = library('r_syscall', files,
|
|||
link_with: [r_util, libr_shlr],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(libraries: [r_syscall],
|
||||
|
|
|
@ -91,7 +91,7 @@ r_util = library('r_util', files,
|
|||
link_with: [libr_shlr],
|
||||
install: true,
|
||||
implicit_include_directories: false,
|
||||
soversion: r2version
|
||||
soversion: r2libversion
|
||||
)
|
||||
|
||||
pkgconfig_mod.generate(
|
||||
|
|
|
@ -62,6 +62,8 @@ else
|
|||
r2birth = r2birth.stdout().strip()
|
||||
endif
|
||||
|
||||
r2libversion = host_machine.system() == 'windows' ? '' : r2version
|
||||
|
||||
# system dependencies
|
||||
cc = meson.get_compiler('c')
|
||||
# required for linux
|
||||
|
|
Loading…
Reference in New Issue