summaryrefslogtreecommitdiffstats
path: root/net/rtpengine/patches/100-prevent-systemd-detection.patch
blob: 33c1727cb90b7f993d41ce8dc56eeadb3c6e05be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/lib/lib.Makefile
+++ b/lib/lib.Makefile
@@ -35,10 +35,10 @@ ifeq ($(RTPENGINE_VERSION),)
 endif
 CFLAGS+=	-DRTPENGINE_VERSION="\"$(RTPENGINE_VERSION)\""
 
-# look for libsystemd
-ifeq ($(shell pkg-config --exists libsystemd && echo yes),yes)
-have_libsystemd := yes
-endif
+# No libsystemd in OpenWrt, but pkg-config could find build host's.
+#ifeq ($(shell pkg-config --exists libsystemd && echo yes),yes)
+have_libsystemd := no
+#endif
 ifeq ($(have_libsystemd),yes)
 CFLAGS+=	$(shell pkg-config --cflags libsystemd)
 CFLAGS+=	-DHAVE_LIBSYSTEMD