summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-05-11 00:36:46 +0100
committerPete Batard <pbatard@gmail.com>2010-05-11 00:36:46 +0100
commit0e74019d22094c1d0f35c40b01f9c788c63f4fee (patch)
treefb5c6d205ef5806a097cebbda5a34c0782d84861 /examples
parent71eaaccde2c6ff09d3c772f8d99981d20787b2d3 (diff)
downloadlibusb-0e74019d22094c1d0f35c40b01f9c788c63f4fee.tar.gz
added detection of -pthread option - only use when required
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 8ffc9c5..a5512cb 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -18,6 +18,6 @@ dpfp_SOURCES = dpfp.c
dpfp_LDADD = ../libusb/libusb-1.0.la -lusb-1.0
dpfp_threaded_SOURCES = dpfp_threaded.c
-dpfp_threaded_CFLAGS = $(AM_CFLAGS)
+dpfp_threaded_CFLAGS = $(THREAD_CFLAGS) $(AM_CFLAGS)
dpfp_threaded_LDADD = ../libusb/libusb-1.0.la -lusb-1.0