odhcpd: update devel-build.sh
authorDavid Härdeman <[email protected]>
Sun, 16 Nov 2025 20:10:40 +0000 (21:10 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Mon, 17 Nov 2025 09:07:54 +0000 (10:07 +0100)
Now that ubus can be disabled at runtime, we can default to building
it in, making it easier to catch compile-time errors in ubus.c.

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/312
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
scripts/devel-build.sh

index ea1ee91ec9026cc82347c9b677a7f25490598b82..b13800aff63ce46180d5749e74d8c4e2aeb5bf28 100755 (executable)
@@ -11,7 +11,7 @@ if [ ! -e "CMakeLists.txt" ] || [ ! -e "src/odhcpd.c" ]; then
 fi
 
 if [ $# -eq 0 ]; then
-       BUILD_ARGS="-DDHCPV4_SUPPORT=ON"
+       BUILD_ARGS="-DDHCPV4_SUPPORT=ON -WITH_UBUS=ON"
 else
        BUILD_ARGS="$@"
 fi