Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Commit

Permalink
bin: Add def_meson
Browse files Browse the repository at this point in the history
Default options for meson(1) for Slackware compatibility.
  • Loading branch information
h3xx committed Sep 3, 2021
1 parent 5a0a4a3 commit 1202390
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions slackware/bin/def_meson
@@ -0,0 +1,17 @@
#!/bin/bash
# vi: et sts=4 sw=4 ts=4

MESON_ARGS=(
# Core options
--optimization 2
--buildtype release
--infodir info
# Directories
--localstatedir /var
--mandir man
--prefix /usr
--sharedstatedir /var/lib
--sysconfdir /etc
)

exec meson "${MESON_ARGS[@]}" "$@"

0 comments on commit 1202390

Please sign in to comment.