chiark / gitweb /
2505036a83bacd73e8dc42e79cd5a5f24d0f6dc1
[termux-packages] / packages / libmosquitto / config.patch
1 diff --git a/config.mk b/config.mk
2 index 087766c..6ff9bc1 100644
3 --- a/config.mk
4 +++ b/config.mk
5 @@ -26,10 +26,10 @@ WITH_TLS:=yes
6  # Comment out to disable TLS/PSK support in the broker and client. Requires
7  # WITH_TLS=yes.
8  # This must be disabled if using openssl < 1.0.
9 -WITH_TLS_PSK:=yes
10 +WITH_TLS_PSK:=no
11  
12  # Comment out to disable client client threading support.
13 -WITH_THREADING:=yes
14 +WITH_THREADING:=no
15  
16  # Comment out to remove bridge support from the broker. This allow the broker
17  # to connect to other brokers and subscribe/publish to topics. You probably
18 @@ -124,8 +124,7 @@ LIB_LIBS:=
19  PASSWD_LIBS:=
20  
21  ifeq ($(UNAME),Linux)
22 -       BROKER_LIBS:=$(BROKER_LIBS) -lrt -Wl,--dynamic-list=linker.syms
23 -       LIB_LIBS:=$(LIB_LIBS) -lrt
24 +       BROKER_LIBS:=$(BROKER_LIBS) -Wl,--dynamic-list=linker.syms
25  endif
26  
27  CLIENT_LDFLAGS:=$(LDFLAGS) -L../lib ../lib/libmosquitto.so.${SOVERSION}
28 @@ -241,7 +240,7 @@ ifeq ($(WITH_DOCS),yes)
29  endif
30  
31  INSTALL?=install
32 -prefix=/usr/local
33 +prefix=
34  mandir=${prefix}/share/man
35  localedir=${prefix}/share/locale
36  STRIP?=strip