summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/compression/flips/use-system-libdivsufsort.patch
blob: aa741decb019795995dfac5ac33002d04296931f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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