meson: Don't specify shared_library()

Some people might want to statically link to libsecret, so use the more
general `library()` target to build libsecret.
This commit is contained in:
Niels De Graef 2020-01-14 23:20:21 +01:00 committed by Daiki Ueno
parent 22ecc2caa0
commit 692e7244be

View File

@ -84,7 +84,7 @@ libsecret_cflags = [
'-DSECRET_COMPILATION', '-DSECRET_COMPILATION',
] ]
libsecret = shared_library('secret-@0@'.format(api_version_major), libsecret = library('secret-@0@'.format(api_version_major),
[ libsecret_sources, _dbus_generated, _enums_generated ], [ libsecret_sources, _dbus_generated, _enums_generated ],
version: libtool_version, version: libtool_version,
dependencies: libsecret_dependencies, dependencies: libsecret_dependencies,