Browse Source

revert 847933371 (installing libzrythm.so)

audio_region_bpm_change_fix
parent
commit
68f5ca0b61
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 13
      src/meson.build
  2. 2
      tests/meson.build

13
src/meson.build

@ -53,10 +53,10 @@ if os_windows @@ -53,10 +53,10 @@ if os_windows
zrythm_lib_srcs += win_res
endif
# install shared library separately so the binary
# remains small
zrythm_lib = shared_library (
'zrythm',
# static is used in the executable and shared is
# used in tests
zrythm_lib = both_libraries (
'zrythm-lib',
sources: [
zrythm_lib_srcs,
ext_srcs,
@ -64,9 +64,8 @@ zrythm_lib = shared_library ( @@ -64,9 +64,8 @@ zrythm_lib = shared_library (
dependencies: zrythm_deps,
include_directories: all_inc,
c_args: [ common_cflags, strict_cflags ],
#pic: true,
pic: true,
link_with: zrythm_link_libs,
install: true,
)
objects = []
@ -81,7 +80,7 @@ zrythm_exe = executable ( @@ -81,7 +80,7 @@ zrythm_exe = executable (
zrythm_deps,
],
link_with: [
zrythm_lib,
zrythm_lib.get_static_lib (),
],
export_dynamic: true,
win_subsystem: 'windows',

2
tests/meson.build

@ -317,7 +317,7 @@ if get_option ('tests') @@ -317,7 +317,7 @@ if get_option ('tests')
endif
endif
test_link_libs = [ zrythm_lib ]
test_link_libs = [ zrythm_lib.get_shared_lib () ]
if have_guile
test_link_libs += guilelib
endif

Loading…
Cancel
Save