From 6dc67ef746fd36539a047ff7cd47fb60de91122f Mon Sep 17 00:00:00 2001 From: idriskalp Date: Thu, 12 Dec 2019 01:10:26 +0300 Subject: [PATCH] xz --- system/base/xz/files/pthread.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/base/xz/files/pthread.patch b/system/base/xz/files/pthread.patch index 0e907848..3620d92a 100644 --- a/system/base/xz/files/pthread.patch +++ b/system/base/xz/files/pthread.patch @@ -5,7 +5,7 @@ diff -Nru xz-5.2.4.orig/configure.ac xz-5.2.4/configure.ac echo echo "POSIX threading support:" AX_PTHREAD([:]) dnl We don't need the HAVE_PTHREAD macro. -+ PTHREAD_LIBS="$PTHREAD_LIBS -pthread" ++ PTHREAD_LIBS="$PTHREAD_LIBS -lpthread" LIBS="$LIBS $PTHREAD_LIBS" AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS" @@ -17,7 +17,7 @@ diff -Nru xz-5.2.4.orig/Makefile.in xz-5.2.4/Makefile.in PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ -PTHREAD_LIBS = @PTHREAD_LIBS@ -+PTHREAD_LIBS = @PTHREAD_LIBS@ -pthread ++PTHREAD_LIBS = @PTHREAD_LIBS@ -lpthread RANLIB = @RANLIB@ RC = @RC@ SED = @SED@