summarylogtreecommitdiffstats
path: root/libASICamera_pthread_fix.diff
blob: 8cc399cadf384f91b94c11ff565df48435205d42 (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
32
diff --git a/oacapture/Makefile.am b/oacapture/Makefile.am
index cab7457..63214cf 100644
--- a/oacapture/Makefile.am
+++ b/oacapture/Makefile.am
@@ -68,8 +68,9 @@ oacapture_LDADD = \
   $(LIBUSB_LIBS) \
   $(LIBASI2_LIBS) \
   $(LIBZWOFW_LIBS) \
-	$(LIBGPHOTO2_LIBS) \
-  $(OSX_FRAMEWORKS)
+  $(LIBGPHOTO2_LIBS) \
+  $(OSX_FRAMEWORKS) \
+  -lpthread
 
 WARNINGS = -g -O -Wall -Werror -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign $(OSX_WARNINGS)
 
diff --git a/oalive/Makefile.am b/oalive/Makefile.am
index f5bf5e2..dd1b1b3 100644
--- a/oalive/Makefile.am
+++ b/oalive/Makefile.am
@@ -64,8 +64,9 @@ oalive_LDADD = \
   $(LIBUSB_LIBS) \
   $(LIBASI2_LIBS) \
   $(LIBZWOFW_LIBS) \
-	$(LIBGPHOTO2_LIBS) \
-  $(OSX_FRAMEWORKS)
+  $(LIBGPHOTO2_LIBS) \
+  $(OSX_FRAMEWORKS) \
+  -lpthread
 
 WARNINGS = -g -O -Wall -Werror -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign $(OSX_WARNINGS)