1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs/tools/compression/flips/use-system-libdivsufsort.patch
2020-10-06 15:25:54 +02:00

16 lines
419 B
Diff

diff --git a/Makefile b/Makefile
index c9d8b6d..9d66b0b 100644
--- a/Makefile
+++ b/Makefile
@@ -79,9 +79,7 @@ endif
MOREFLAGS := $(CFLAGS_$(TARGET))
-DIVSUF := libdivsufsort-2.0.1
-SOURCES += $(DIVSUF)/lib/divsufsort.c $(DIVSUF)/lib/sssort.c $(DIVSUF)/lib/trsort.c
-MOREFLAGS += -I$(DIVSUF)/include -DHAVE_CONFIG_H -D__STDC_FORMAT_MACROS
+MOREFLAGS += -ldivsufsort
ifeq ($(TARGET),gtk)
CFLAGS_G += -fopenmp