From: Álvaro Fernández Rojas Date: Mon, 1 Dec 2025 08:02:50 +0000 (+0100) Subject: build: fix BUILD_ARGS X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=bb2da6dcb58d2359059b1aca126fcf8c828f32f4;p=project%2Fodhcpd.git 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 --- 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}"