We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cbd55f commit 59b9744Copy full SHA for 59b9744
build.sh
@@ -25,10 +25,10 @@ rm -rf install
25
mkdir -p install
26
ln -s lib install/lib64
27
clone libubox git://git.openwrt.org/project/libubox.git
28
-build libubox -DBUILD_LUA=off
+build libubox -DBUILD_LUA=off -DCMAKE_POSITION_INDEPENDENT_CODE=on
29
if [ "$UNAME" = "Linux" ]; then
30
clone libnl-tiny git://git.openwrt.org/project/libnl-tiny.git
31
- build libnl-tiny -DBUILD_LUA=off
+ build libnl-tiny -DBUILD_LUA=off -DCMAKE_POSITION_INDEPENDENT_CODE=on
32
clone libbpf https://github.com/libbpf/libbpf
33
make -j9 -C libbpf/src PREFIX=$PWD/install all install
34
fi
0 commit comments