Skip to content

Commit

Permalink
add setup.sh with pkg-config
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Apr 5, 2024
1 parent a7658c9 commit cb2c41d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
}
],
"build": {
"setup": "./setup.sh",
"build": "make module.tar.gz",
"arch" : ["darwin/arm64", "linux/arm64"]
},
Expand Down
9 changes: 9 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

set -e

UNAME=$(uname)

if [ $UNAME = Linux ]; then
sudo apt-get install -qy pkg-config
fi

0 comments on commit cb2c41d

Please sign in to comment.