kamailio-5.x: specify run directory
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 11 Feb 2018 18:22:10 +0000 (19:22 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 11 Feb 2018 18:22:12 +0000 (19:22 +0100)
When not specifying "run_target" the kamailio build system assumes
$(DESTDIR)/var/run/kamailio to be the run directory on the target
device. Add the variable to address this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/kamailio-5.x/Makefile

index 47cd103b9098026d49754c5b165e171deea64e63..48cd5b255bd575ba0de1171599fb1c1e5867ddd3 100644 (file)
@@ -130,6 +130,7 @@ PKG_MAKE_ARGS:= \
        include_modules="$$(INCL_MODULES)" \
        cfg_target:=/etc/kamailio/ \
        lib_target=/usr/lib/kamailio/ \
+       run_target=/var/run/kamailio/ \
        CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
        LD_EXTRA_OPTS="$(TARGET_LDFLAGS)" \
        LOCALBASE="$(STAGING_DIR)/usr" \