From 9d36000e6fea8e91d54dd176a9b3eed9b3b811bc Mon Sep 17 00:00:00 2001 From: Moritz Schulte Date: Tue, 27 Jul 2004 11:28:47 +0000 Subject: [PATCH] 2004-07-27 Moritz Schulte * Makefile.am: Use @DL_LIBS@ instead of -ldl. --- scd/Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scd/Makefile.am b/scd/Makefile.am index e3dfbf0b6..5c49ee6f9 100644 --- a/scd/Makefile.am +++ b/scd/Makefile.am @@ -53,7 +53,8 @@ scdaemon_SOURCES = \ scdaemon_LDADD = ../jnlib/libjnlib.a ../common/libcommon.a \ $(LIBGCRYPT_LIBS) $(pth_libs) \ $(KSBA_LIBS) $(LIBASSUAN_LIBS) \ - $(LIBUSB_LIBS) $(OPENSC_LIBS) -lgpg-error @INTLLIBS@ -ldl + $(LIBUSB_LIBS) $(OPENSC_LIBS) -lgpg-error @INTLLIBS@ \ + @DL_LIBS@ sc_investigate_SOURCES = \ sc-investigate.c scdaemon.h \ @@ -68,7 +69,7 @@ sc_investigate_LDADD = \ ../jnlib/libjnlib.a ../common/libcommon.a \ $(LIBGCRYPT_LIBS) $(pth_libs) \ $(KSBA_LIBS) $(LIBUSB_LIBS) $(OPENSC_LIBS) \ - @INTLLIBS@ -lgpg-error -ldl + @INTLLIBS@ -lgpg-error @DL_LIBS@ sc_copykeys_SOURCES = \ @@ -85,8 +86,8 @@ sc_copykeys_LDADD = \ ../common/libsimple-pwquery.a \ $(LIBGCRYPT_LIBS) $(pth_libs) \ $(KSBA_LIBS) $(LIBUSB_LIBS) $(OPENSC_LIBS) \ - -lgpg-error @INTLLIBS@ -ldl + -lgpg-error @INTLLIBS@ @DL_LIBS@ pcsc_wrapper_SOURCES = pcsc-wrapper.c -pcsc_wrapper_LDADD = -ldl +pcsc_wrapper_LDADD = @DL_LIBS@ pcsc_wrapper_CFLAGS =