forked from pool/lz4
Jan Engelhardt
dc2fde8d3c
OBS-URL: https://build.opensuse.org/package/show/Archiving/lz4?expand=0&rev=10
25 lines
953 B
Diff
25 lines
953 B
Diff
---
|
|
programs/Makefile | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
Index: trunk/programs/Makefile
|
|
===================================================================
|
|
--- trunk.orig/programs/Makefile
|
|
+++ trunk/programs/Makefile
|
|
@@ -69,11 +69,11 @@ default: lz4 lz4c
|
|
|
|
all: lz4 lz4c lz4c32 fullbench fullbench32 fuzzer fuzzer32 datagen
|
|
|
|
-lz4: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c bench.c xxhash.c lz4io.c lz4cli.c
|
|
- $(CC) $(FLAGS) -DDISABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT)
|
|
+lz4: bench.c xxhash.c lz4io.c lz4cli.c
|
|
+ $(CC) $(FLAGS) -DDISABLE_LZ4C_LEGACY_OPTIONS $^ -o $@$(EXT) -L${LZ4DIR} -llz4
|
|
|
|
-lz4c : $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c bench.c xxhash.c lz4io.c lz4cli.c
|
|
- $(CC) $(FLAGS) $^ -o $@$(EXT)
|
|
+lz4c: bench.c xxhash.c lz4io.c lz4cli.c
|
|
+ $(CC) $(FLAGS) $^ -o $@$(EXT) -L${LZ4DIR} -llz4
|
|
|
|
lz4c32: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c bench.c xxhash.c lz4io.c lz4cli.c
|
|
$(CC) -m32 $(FLAGS) $^ -o $@$(EXT)
|