Skip to content

Commit

Permalink
Use pkg-config instead of hard-coded paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
fraggerfox committed Aug 5, 2024
1 parent 188bbd6 commit 7ae752d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,12 @@ jobs:
PKG_PATH="https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/10.0/All/"
export PATH PKG_PATH
/usr/sbin/pkg_add pkgin
pkgin -y install autoconf automake libtool ncurses gmake git
pkgin -y install autoconf automake libtool ncurses pkg-config gmake git
git config --global --add safe.directory /home/runner/work/htop/htop
run: |
set -e
./autogen.sh
CPPFLAGS="-I/usr/pkg/include -I/usr/pkg/include/ncurses" LDFLAGS="-L/usr/pkg/lib" ./configure --enable-unicode --enable-werror
CPPFLAGS=$(pkg-config --cflags ncurses) LDFLAGS=$(pkg-config --libs ncurses) ./configure --enable-unicode --enable-werror
gmake -k
build-openbsd-latest-clang:
Expand Down

0 comments on commit 7ae752d

Please sign in to comment.