Skip to content

Commit 1bb584d

Browse files
committed
client: link as static library, not shared library
1 parent b92f255 commit 1bb584d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

client/meson.build

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
client_inc = include_directories('.', '../include')
22

3-
libhopper = library(
3+
libhopper = static_library(
44
'hopper',
55
'lib.c',
66
include_directories: client_inc,
7-
version: meson.project_version(),
7+
pic: true,
88
install: true,
99
)
1010

@@ -14,6 +14,7 @@ pkg.generate(
1414
libhopper,
1515
name: 'hopper',
1616
description: 'Hopper client library',
17+
version: meson.project_version(),
1718
subdirs: 'hopper',
1819
)
1920

0 commit comments

Comments
 (0)