minimal fix to make it build on Debian unstable

master
Harald Welte 8 months ago
parent 81356e9526
commit 6b99aba762
  1. 8
      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

Loading…
Cancel
Save