Files
nixpkgs/pkgs/by-name/fl/flips/use-system-libdivsufsort.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
429 B
Diff
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/Makefile b/Makefile
index b3d5aeb..a5acc08 100644
--- a/Makefile
+++ b/Makefile
@@ -83,9 +83,7 @@ endif
MOREFLAGS := $(CFLAGS_$(TARGET))
-DIVSUF := $(SRCDIR)/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