Skip to content

Commit c61ce8f

Browse files
author
Raghuveer Devulapalli
authored
Merge pull request #165 from yinqiwen/main
Add a make target 'staticlib' to create static lib
2 parents 169dc6e + f9afa18 commit c61ce8f

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)