blob: b60f379fc9ccf679798f7da116a8449bfee7f9eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
From: Julian Ospald <hasufell@gentoo.org>
Date: Tue Aug 14 23:04:03 UTC 2012
Subject: build system
fix build for linkers that don't permit underlinking
--- configure.ac
+++ configure.ac
@@ -69,6 +69,8 @@
AC_MSG_ERROR([linux/uinput.h]),
[#include <linux/input.h>])
+PKG_CHECK_MODULES([BLUETOOTH], [bluez])
+
AC_ISC_POSIX
AC_ARG_WITH(cwiid-config-dir,AC_HELP_STRING([--with-cwiid-config-dir],
--- wmdemo/Makefile.in
+++ wmdemo/Makefile.in
@@ -6,9 +6,9 @@
SOURCES = wmdemo.c
-CFLAGS += -I@top_builddir@/libcwiid
+CFLAGS += -I@top_builddir@/libcwiid @BLUETOOTH_CFLAGS@
LDFLAGS += -L@top_builddir@/libcwiid
-LDLIBS += -lcwiid
+LDLIBS += -lcwiid @BLUETOOTH_LIBS@
INST_DIR = @bindir@
include $(COMMON)/include/app.mak
|