Репозитории ALT
S: | 140201-alt1 |
D: | 070923-alt1 |
5.1: | 070923-alt2.1 |
4.1: | 040818-alt1 |
4.0: | 040818-alt1 |
Группа :: Система/Настройка/Прочее
Пакет: chntpw
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: chntpw.patch2
Скачать
Скачать
--- chntpw-070923/Makefile.orig 2007-09-23 21:58:00 +0400
+++ chntpw-070923/Makefile 2008-05-14 18:11:41 +0400
@@ -16,18 +16,19 @@ CFLAGS= -DUSEOPENSSL -g -I. -I$(OSSLINC)
# This is to link with whatever we have, SSL crypto lib we put in static
-LIBS=-L$(OSSLLIB) $(OSSLLIB)/libcrypto.a
+SHLIBS=-L$(OSSLLIB) -lcrypto
+LIBS=-L$(OSSLLIB) $(LIBDIR)/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)