Skip to content

Commit 5cf7282

Browse files
committed
build: fix the static build
The static build fails due several missconfiguraitons. Update the build target. Signed-off-by: Daniel Wagner <[email protected]>
1 parent eba3131 commit 5cf7282

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

Makefile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,12 @@ debug:
6868

6969
.PHONY: static
7070
static:
71-
meson ${BUILD-DIR} --buildtype=release \
72-
--default-library=static -Dc_link_args="-static" \
71+
meson setup ${BUILD-DIR} --buildtype=release \
7372
--wrap-mode=forcefallback \
74-
-Dlibnvme:tests=false -Dlibnvme:keyutils=disabled
75-
ninja -C ${BUILD-DIR}
73+
--default-library=static \
74+
-Dc_link_args="-static" \
75+
-Dlibnvme:keyutils=disabled \
76+
-Dlibnvme:liburing=disabled \
77+
-Dlibnvme:python=disabled \
78+
-Dlibnvme:openssl=disabled
79+
meson compile -C ${BUILD-DIR}

0 commit comments

Comments
 (0)