* Makefile.am (LDFLAGS): Removed.
[gnupg.git] / scd / Makefile.am
index b306a3a..3343542 100644 (file)
@@ -23,9 +23,8 @@ INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\"
 
 bin_PROGRAMS = scdaemon
 
-AM_CPPFLAGS = -I$(top_srcdir)/common $(LIBOPENSC_CFLAGS) $(LIBGCRYPT_CFLAGS) \
-             $(LIBKSBA_CFLAGS)
-LDFLAGS = @LDFLAGS@ 
+AM_CPPFLAGS = -I$(top_srcdir)/common $(OPENSC_CFLAGS) $(LIBGCRYPT_CFLAGS) \
+             $(KSBA_CFLAGS)
 
 scdaemon_SOURCES = \
        scdaemon.c scdaemon.h \
@@ -33,12 +32,9 @@ scdaemon_SOURCES = \
        card-common.h \
        card-p15.c card-dinsig.c
 
-# fixme: We added -lpcslite because the opensc config script can't cope with 
-# a static only libopensc.
 scdaemon_LDADD = ../jnlib/libjnlib.a ../assuan/libassuan.a  \
                ../common/libcommon.a \
-               $(LIBOPENSC_LIBS) $(LIBGCRYPT_LIBS) $(LIBKSBA_LIBS) \
-               -lpcsclite -lpthread
+               $(OPENSC_LIBS) $(LIBGCRYPT_LIBS) $(KSBA_LIBS)