Meson: disable libversion info for Windows (#9858)

This commit is contained in:
Paul I 2018-04-10 23:44:54 +03:00 committed by xarkes
parent 813348d6ab
commit 40b4a5b557
23 changed files with 24 additions and 22 deletions

View File

@ -113,7 +113,7 @@ r_anal = library('r_anal', files,
],
install: true,
implicit_include_directories: false,
soversion: r2version
soversion: r2libversion
)
pkgconfig_mod.generate(

View File

@ -168,7 +168,7 @@ r_asm = library('r_asm', files,
],
install: true,
implicit_include_directories: false,
soversion: r2version
soversion: r2libversion
)
pkgconfig_mod.generate(

View File

@ -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(

View File

@ -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(

View File

@ -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(

View File

@ -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(

View File

@ -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(

View File

@ -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')

View File

@ -70,7 +70,7 @@ r_debug = library('r_debug', files,
],
install: true,
implicit_include_directories: false,
soversion: r2version
soversion: r2libversion
)
pkgconfig_mod.generate(

View File

@ -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(

View File

@ -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(

View File

@ -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(

View File

@ -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(

View File

@ -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(

View File

@ -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(

View File

@ -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(

View File

@ -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(

View File

@ -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(

View File

@ -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(

View File

@ -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(

View File

@ -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],

View File

@ -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(

View File

@ -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