Lakka-LibreELEC/packages/compress/bzip2/patches/bzip2-1.0.8-cflags.patch
Sascha Kuehndel (InuSasha) 449617bf48
bzip2: update to 1.0.8
2019-07-28 11:37:10 +02:00

12 lines
470 B
Diff

--- bzip2-1.0.8/Makefile-libbz2_so.orig 2019-07-28 09:43:16.597589341 +0200
+++ bzip2-1.0.8/Makefile-libbz2_so 2019-07-28 09:53:41.142160730 +0200
@@ -35,7 +35,7 @@
bzlib.o
all: $(OBJS)
- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.8 $(OBJS)
+ $(CC) $(CFLAGS) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.8 $(OBJS)
$(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.8
rm -f libbz2.so.1.0
ln -s libbz2.so.1.0.8 libbz2.so.1.0