aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLinus Walleij <triad@df.lth.se>2010-12-07 20:33:13 +0000
committerLinus Walleij <triad@df.lth.se>2010-12-07 20:33:13 +0000
commit9e44f18fbceccfffd07c54508c4b05acc3b45fd4 (patch)
tree74aaa4a7789ab63e6aa588f060d3a35d7179668b /util
parent6190146bc4e111db2c650cd1e288604f76216b0f (diff)
downloadlibmtp-9e44f18fbceccfffd07c54508c4b05acc3b45fd4.tar.gz
Only compile the probe program on Linux
Diffstat (limited to 'util')
-rw-r--r--util/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/Makefile.am b/util/Makefile.am
index 0bbf03a..dde6609 100644
--- a/util/Makefile.am
+++ b/util/Makefile.am
@@ -1,8 +1,10 @@
bin_PROGRAMS=mtp-hotplug
-libexec_PROGRAMS=mtp-probe
-
mtp_hotplug_SOURCES=mtp-hotplug.c
+
+if USE_LINUX
+libexec_PROGRAMS=mtp-probe
mtp_probe_SOURCES=mtp-probe.c
+endif
AM_CPPFLAGS=-I$(top_builddir)/src
LDADD=../src/libmtp.la