[libsecret/wip/nielsdg/dont-specify-library-type] meson: Don't specify shared_library()



commit 2e3103f37a14873ae4906df7a064c5a0e52e9128
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Tue Jan 14 23:20:21 2020 +0100

    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.

 libsecret/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libsecret/meson.build b/libsecret/meson.build
index 09041ce..759b5ef 100644
--- a/libsecret/meson.build
+++ b/libsecret/meson.build
@@ -84,7 +84,7 @@ libsecret_cflags = [
   '-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 ],
   version: libtool_version,
   dependencies: libsecret_dependencies,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]