From 6b99aba762a622f856cf642a9f589d180029a2d7 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 9 Apr 2022 13:04:35 +0200 Subject: [PATCH] minimal fix to make it build on Debian unstable --- src/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Makefile b/src/Makefile index cc623b1..83eb09f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -23,9 +23,9 @@ AR=ar INCL=-I/usr/include -Iinclude COPT=-DLXGC=1 -O2 GCCOPT=-DLXGC=1 -O2 -LIB1=/usr/lib64 -LIB2=/usr/lib/gcc/x86_64-redhat-linux/4.9.2 -NTFSLIB=/lib64/libntfs-3g.so.*.0.0 +LIB1=/usr/lib/x86_64-linux-gnu +LIB2=/usr/lib/gcc/x86_64-linux-gnu/11/ +NTFSLIB=/usr/lib/x86_64-linux-gnu/libntfs-3g.so A=console.a udefrag.a zenwinx.a wincalls.a @@ -66,5 +66,5 @@ udefrag : $(A) $(LIB1)/crt1.o $(LIB1)/crti.o $(LIB2)/crtbegin.o \ console/console.a dll/udefrag/udefrag.a dll/zenwinx/zenwinx.a \ wincalls/wincalls.a $(NTFSLIB) \ - -lgcc -L$(LIB2) -L$(LIB1) -lc -lm -lpthread -lncurses \ + -L$(LIB2) -L$(LIB1) -lc -lm -lpthread -lncurses \ $(LIB2)/crtend.o $(LIB1)/crtn.o > udefrag.map