Source: chntpw
Version: 140201-1
Severity: important
Tags: patch
User: ametz...@debian.org
Usertags: libgcrypt-config-removal
Control: block 714589 by -1

Hello,

Please switch from using libgcrypt-config to pkg-config to locate
libgcrypt. libgcrypt-config will be dropped in the next libgcrypt major
release.

cu Andreas
--- chntpw-140201.orig/Makefile
+++ chntpw-140201/Makefile
@@ -6,10 +6,10 @@
 CC=gcc
 
 # Force 32 bit
-CFLAGS= -DUSELIBGCRYPT -I. $(shell libgcrypt-config --cflags) -Wall -m32
+CFLAGS= -DUSELIBGCRYPT -I. $(shell pkg-config --cflags libgcrypt) -Wall -m32
 OSSLLIB=$(OSSLPATH)/lib
 
-LIBS=$(shell libgcrypt-config --libs)
+LIBS=$(shell pkg-config --libs libgcrypt)
 
 
 all: chntpw cpnt reged samusrgrp sampasswd samunlock

Reply via email to