Skip to content

Commit

Permalink
[usb-moded] Pass libdbus cflags/libs directly. JB#51115
Browse files Browse the repository at this point in the history
Instead of using those passed by dbus-glib.

Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
  • Loading branch information
Thaodan committed Sep 23, 2020
1 parent c5a05e1 commit 34a9726
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Makefile.am
@@ -1,4 +1,5 @@
USB_MODED_CFLAGS += -D_GNU_SOURCE
USB_MODED_CFLAGS += -D_GNU_SOURCE \
$(DBUS_CFLAGS)
USB_MODED_LIBS += -lpthread

sbin_PROGRAMS = usb_moded \
Expand Down Expand Up @@ -103,7 +104,8 @@ usb_moded_util_LDFLAGS = \
-Wl,--as-needed

usb_moded_util_LDADD = \
$(USB_MODED_LIBS)
$(USB_MODED_LIBS) \
$(DBUS_LIBS)

usb_moded_util_SOURCES = \
usb_moded-util.c

0 comments on commit 34a9726

Please sign in to comment.