summaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
authorMoritz Schulte <mo@g10code.com>2004-07-27 13:28:47 +0200
committerMoritz Schulte <mo@g10code.com>2004-07-27 13:28:47 +0200
commit9d36000e6fea8e91d54dd176a9b3eed9b3b811bc (patch)
treee23c6740c92bf68feb89bbc56a557fa2a749f582 /scd
parent2004-07-27 Moritz Schulte <moritz@g10code.com> (diff)
downloadgnupg2-9d36000e6fea8e91d54dd176a9b3eed9b3b811bc.tar.xz
gnupg2-9d36000e6fea8e91d54dd176a9b3eed9b3b811bc.zip
2004-07-27 Moritz Schulte <moritz@g10code.com>
* Makefile.am: Use @DL_LIBS@ instead of -ldl.
Diffstat (limited to 'scd')
-rw-r--r--scd/Makefile.am9
1 files 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 =