Skip to content

Commit f9afa18

Browse files
author
qiyingwang
committed
Add a make target 'staticlib' to create static lib
1 parent 169dc6e commit f9afa18

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ sharedlib:
1818
meson setup --warnlevel 2 --werror --buildtype release builddir
1919
cd builddir && ninja
2020

21+
staticlib:
22+
meson setup -Dlib_type=static --warnlevel 2 --werror --buildtype release builddir
23+
cd builddir && ninja
24+
2125
install:
2226
meson setup --warnlevel 2 --werror --buildtype release builddir
2327
cd builddir && meson install

0 commit comments

Comments
 (0)