diff options
Diffstat (limited to 'vendor')
-rwxr-xr-x | vendor/sync | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/vendor/sync b/vendor/sync index cd3e040..96ae888 100755 --- a/vendor/sync +++ b/vendor/sync @@ -164,10 +164,21 @@ WLROOTS_TAG="0.14.1" build_wlroots() { - git clone $WLROOTS wlroots + git clone $WLROOTS_URL cd wlroots && git checkout $WLROOTS_TAG - meson --prefix=$ROOT build/ && cd ninja -C build/ + meson \ + --prefix=$ROOT \ + --includedir=include/vendor \ + --libdir=lib/vendor \ + -Ddefault_library=static \ + build/ \ + && ninja -C build/ \ + && meson install -C build + + mv $ROOT/lib/vendor/pkgconfig/* $ROOT/lib/pkgconfig + rm -rf $ROOT/lib/vendor/pkgconfig + cd $VENDOR echo $WLROOTS_TAG > wlroots/build.tag } @@ -193,4 +204,5 @@ update nlopt $NLOPT_TAG update musl $MUSL_TAG update blas $BLAS_TAG update zlib $ZLIB_TAG +update wlroots $WLROOTS_TAG # update glfw $GLFW_TAG |