board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / multicat / 0001-Fix-missing-pthread.patch
blob1ad2c9877218769c1f2af13e92e3d1ddbd7dc888
1 Makefile: link with pthread
3 Otherwise building multicat in a static context fails:
4 aggregartp.c:381: undefined reference to `pthread_self'
6 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
7 Sent upstream: https://mailman.videolan.org/pipermail/multicat-devel/2016-March/000125.html
9 diff -purN multicat-2.1.orig/Makefile multicat-2.1/Makefile
10 --- multicat-2.1.orig/Makefile 2015-10-05 18:36:29.000000000 +0200
11 +++ multicat-2.1/Makefile 2016-03-19 21:47:59.467745127 +0100
12 @@ -4,7 +4,7 @@ VERSION = 2.1
13 CFLAGS += -Wall -Wformat-security -O3 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_ISOC99_SOURCE -D_BSD_SOURCE
14 CFLAGS += -g
15 # Comment out the following line for Mac OS X build
16 -LDLIBS += -lrt
17 +LDLIBS += -lrt -pthread
19 OBJ_MULTICAT = multicat.o util.o
20 OBJ_INGESTS = ingests.o util.o