Commit b21a0fb5 authored by Steffen Sledz's avatar Steffen Sledz Committed by Richard Bayerle
Browse files

Makefile: enable build on SuSE distribution



Like Redhat SuSE uses libxmpp instead of libjabber.
Fixes issue #98
Signed-off-by: default avatarSteffen Sledz <sledz@dresearch-fe.de>
parent 2ea47f48
......@@ -43,9 +43,13 @@ PKGCFG_L=$(shell $(PKG_CONFIG) --libs sqlite3 mxml) \
ifneq ("$(wildcard /etc/redhat-release)","")
LJABBER= -lxmpp
else
ifneq ("$(wildcard /etc/SuSE-release)","")
LJABBER= -lxmpp
else
LJABBER= -ljabber
endif
endif
HEADERS=-I$(HDIR)/jabber -I$(LOMEMO_SRC) -I$(AXC_SRC) -I$(AX_DIR)/src
CFLAGS += -std=c11 -Wall -g -Wstrict-overflow $(PKGCFG_C) $(HEADERS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment