summaryrefslogtreecommitdiffstats
path: root/patches/01_properly-support-shared-library.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/01_properly-support-shared-library.patch')
-rw-r--r--patches/01_properly-support-shared-library.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/patches/01_properly-support-shared-library.patch b/patches/01_properly-support-shared-library.patch
index 7098225..6bd71db 100644
--- a/patches/01_properly-support-shared-library.patch
+++ b/patches/01_properly-support-shared-library.patch
@@ -76,7 +76,8 @@ diff -Naur src.orig/Makefile src/Makefile
+
+blocksort.sho: blocksort.c
@cat words0
- $(CC) $(CFLAGS) -c blocksort.c
+- $(CC) $(CFLAGS) -c blocksort.c
++ $(CC) $(CFLAGS) -D_REENTRANT -fPIC -c -o $@ $?
-huffman.o: huffman.c
- $(CC) $(CFLAGS) -c huffman.c
-crctable.o: crctable.c