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