diff options
| author | Álvaro Fernández Rojas | 2025-12-01 08:02:50 +0000 |
|---|---|---|
| committer | Álvaro Fernández Rojas | 2025-12-01 08:02:50 +0000 |
| commit | bb2da6dcb58d2359059b1aca126fcf8c828f32f4 (patch) | |
| tree | 2a20c3cb1b00259d6f3d09d991288683e5d431f0 | |
| parent | 7fddd39166649cdce4a95898ee9e9d60b2141f07 (diff) | |
build: fix BUILD_ARGS
Commit ef8de928da7f forced DHCPV4_SUPPORT and UBUS cmake options, but should
have fixed BUILD_ARGS instead (-WITH_UBUS=ON -> -DUBUS=ON).
Fixes: ef8de928da7f ("build: enable DHCPV4_SUPPORT and UBUS")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| -rwxr-xr-x | scripts/devel-build.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/devel-build.sh b/scripts/devel-build.sh index e937185..46c565b 100755 --- a/scripts/devel-build.sh +++ b/scripts/devel-build.sh @@ -11,7 +11,7 @@ if [ ! -e "CMakeLists.txt" ] || [ ! -e "src/odhcpd.c" ]; then fi if [ $# -eq 0 ]; then - BUILD_ARGS="-DDHCPV4_SUPPORT=ON -WITH_UBUS=ON" + BUILD_ARGS="-DDHCPV4_SUPPORT=ON -DUBUS=ON" else BUILD_ARGS="$@" fi @@ -94,8 +94,6 @@ cd "${ODHCPDDIR}" cmake \ -S . \ -B "${BUILDDIR}" \ - -DDHCPV4_SUPPORT=ON \ - -DUBUS=ON \ -DCMAKE_PREFIX_PATH="${BUILDDIR}" \ ${BUILD_ARGS} make -C "${BUILDDIR}" |