Bumps kamailio to version 5.4.2 and removes the suffix, as there is only one kamailio version at a time anyway. Also: - Replaces a few $(PKG_NAME) uses with simply "kamailio" - Drops the use of variable PKG_VARIANT (was not set anyway) - Drops 160-openssl-deprecated.patch (upstream first accepted the patch, then dropped it again after crashes were reported, see [1]) [1] https://github.com/kamailio/kamailio/issues/2466 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
30 lines
884 B
Diff
30 lines
884 B
Diff
--- a/src/modules/erlang/Makefile
|
|
+++ b/src/modules/erlang/Makefile
|
|
@@ -5,20 +5,21 @@ include ../../Makefile.defs
|
|
auto_gen=
|
|
NAME=erlang.so
|
|
|
|
-ERLANG=$(shell which erl)
|
|
+# In OpenWrt Erlang resides in standard locations, no special flags required
|
|
+#ERLANG=$(shell which erl)
|
|
|
|
ifneq ($(ERLANG),)
|
|
ERLANG_LIBDIR=$(shell $(ERLANG) -noshell -eval 'io:format("~n~s/lib~n", [[code:lib_dir("erl_interface")]]).' -s erlang halt | tail -n 1)
|
|
ERLANG_INCDIR=$(shell $(ERLANG) -noshell -eval 'io:format("~n~s/include~n", [[code:lib_dir("erl_interface")]]).' -s erlang halt | tail -n 1)
|
|
endif
|
|
|
|
-ifeq ($(ERLANG_LIBDIR)$(ERLANG_INCDIR),)
|
|
-$(error Not found Erlang)
|
|
-endif
|
|
+#ifeq ($(ERLANG_LIBDIR)$(ERLANG_INCDIR),)
|
|
+#$(error Not found Erlang)
|
|
+#endif
|
|
|
|
-LIBS=-L$(ERLANG_LIBDIR) -lei -lpthread
|
|
+LIBS=-lei -lpthread
|
|
|
|
-DEFS+=-I$(ERLANG_INCDIR)
|
|
+#DEFS+=-I$(ERLANG_INCDIR)
|
|
DEFS+=-D_REENTRANT
|
|
|
|
|