diff -Naur chntpw-070923.orig/Makefile chntpw-070923/Makefile --- chntpw-070923.orig/Makefile 2007-09-23 20:58:06 +0300 +++ chntpw-070923/Makefile 2008-05-08 10:16:09 +0300 @@ -16,18 +16,19 @@ # This is to link with whatever we have, SSL crypto lib we put in static +SHLIBS=-L$(OSSLLIB) -lcrypto LIBS=-L$(OSSLLIB) $(OSSLLIB)/libcrypto.a all: chntpw chntpw.static cpnt chntpw: chntpw.o ntreg.o - $(CC) $(CFLAGS) -o chntpw chntpw.o ntreg.o $(LIBS) + $(CC) $(CFLAGS) -o chntpw chntpw.o ntreg.o $(SHLIBS) chntpw.static: chntpw.o ntreg.o $(CC) -static $(CFLAGS) -o chntpw.static chntpw.o ntreg.o $(LIBS) cpnt: cpnt.o - $(CC) $(CFLAGS) -o cpnt cpnt.o $(LIBS) + $(CC) $(CFLAGS) -o cpnt cpnt.o $(SHLIBS) #ts: ts.o ntreg.o # $(CC) $(CFLAGS) -nostdlib -o ts ts.o ntreg.o $(LIBS)