Skip to content

Commit c959bba

Browse files
committed
Install 'weechat-plugin.h' for plugins support
1 parent 2cd4ff7 commit c959bba

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ rm -f "$MOUNT/usr/bin/weechat" "$MOUNT/usr/bin/weechat-headless"
6464
echo + "rsync -v -rl --exclude .gitignore ./src/ …/" >&2
6565
rsync -v -rl --exclude '.gitignore' "$BUILD_DIR/src/" "$MOUNT/"
6666

67+
echo + "ln -s /opt/weechat/include/weechat/ …/usr/include/weechat" >&2
68+
ln -s "/opt/weechat/include/weechat/" "$MOUNT/usr/include/weechat"
69+
70+
echo + "ln -s /opt/weechat/lib/pkgconfig/weechat.pc …/usr/lib/pkgconfig/weechat.pc" >&2
71+
ln -s "/opt/weechat/lib/pkgconfig/weechat.pc" "$MOUNT/usr/lib/pkgconfig/weechat.pc"
72+
6773
pkg_install "$CONTAINER" \
6874
inotify-tools
6975

src/usr/include/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# This directory is empty by default

src/usr/lib/pkgconfig/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# This directory is empty by default

0 commit comments

Comments
 (0)