File pixz-use-static.patch of Package pixz

---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: pixz-1.0.2/Makefile
===================================================================
--- pixz-1.0.2.orig/Makefile	2013-09-25 22:16:11.000000000 +0100
+++ pixz-1.0.2/Makefile	2013-09-26 00:29:52.000000000 +0100
@@ -12,7 +12,7 @@ MYCFLAGS = $(patsubst %,-I%/include,$(LI
 MYLDFLAGS = $(patsubst %,-L%/lib,$(LIBPREFIX)) $(OPT) -Wall
 
 THREADS = -lpthread
-LIBADD = $(THREADS) -llzma -larchive -lm
+LIBADD = $(THREADS) -Wl,-Bstatic -llzma -larchive -Wl,-Bdynamic -lm
 
 CC = gcc
 COMPILE = $(CC) $(MYCFLAGS) $(CFLAGS) -c -o