Skip to content

Commit ca277f4

Browse files
committed
Make use of meson library
Use meson library instead of defining shared and static library on their own. Fixes: libproxy#343
1 parent c37d1ab commit ca277f4

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/libproxy/meson.build

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ elif build_machine.system() == 'sunos'
3232
endif
3333
endif
3434

35-
libproxy = shared_library(
35+
libproxy = library(
3636
'proxy',
3737
libproxy_sources,
3838
include_directories: px_backend_inc,
@@ -45,17 +45,6 @@ libproxy = shared_library(
4545
install_rpath: pkglibdir,
4646
)
4747

48-
libproxy_static = static_library(
49-
'proxy',
50-
libproxy_sources,
51-
include_directories: px_backend_inc,
52-
dependencies: libproxy_deps,
53-
link_args : vflag,
54-
link_depends : mapfile,
55-
install: true,
56-
install_rpath: pkglibdir,
57-
)
58-
5948
libproxy_dep = declare_dependency (
6049
include_directories: libproxy_inc,
6150
link_with: libproxy,

0 commit comments

Comments
 (0)