File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -111,15 +111,13 @@ jobs:
111
111
- name : Set up toolchain for ${{ matrix.name }}
112
112
run : |
113
113
CROSS_TOOLCHAIN_URL="https://github.com/cross-tools/musl-cross/releases/download/20250520/${{ matrix.triplet }}.tar.xz"
114
- PKG_CONFIG_PATH="${{ env.cross_dir }}/${{ matrix.triplet }}/${{ matrix.triplet }}/sysroot/usr/lib/pkgconfig"
115
114
116
115
sudo mkdir -m 777 -p "${{ env.cross_dir }}"
117
116
env \
118
117
CROSS_TRIPLET="${{ matrix.triplet }}" \
119
118
CROSS_TOOLCHAIN_URL="$CROSS_TOOLCHAIN_URL" \
120
119
CROSS_TOOLCHAIN_SHA256="${{ matrix.sha256 }}" \
121
120
CROSS_DIR="${{ env.cross_dir }}" \
122
- PKG_CONFIG_PATH="$PKG_CONFIG_PATH" \
123
121
.github/workflows/scripts/cross-setup.sh
124
122
- name : Build for ${{ matrix.name }}
125
123
run : |
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ CROSS_BASE="$CROSS_DIR/$CROSS_TRIPLET"
12
12
CROSS_SRC=" $CROSS_BASE /src"
13
13
CROSS_USR=" $CROSS_BASE /$CROSS_TRIPLET /sysroot/usr"
14
14
PATH=" $CROSS_BASE /bin:$PATH "
15
- export PATH
15
+ PKG_CONFIG_PATH=" $CROSS_DIR /$CROSS_TRIPLET /$CROSS_TRIPLET /sysroot/usr/lib/pkgconfig"
16
+ export PATH PKG_CONFIG_PATH
16
17
17
18
libmnl_name=libmnl-1.0.5
18
19
libmnl_tar=$libmnl_name .tar.bz2
You can’t perform that action at this time.
0 commit comments