Use $(DL_LIB) instead of explicit -ldl
authorKen Raeburn <raeburn@mit.edu>
Mon, 19 May 2008 18:12:49 +0000 (18:12 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 19 May 2008 18:12:49 +0000 (18:12 +0000)
ticket: 5899

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20325 dc483132-0cff-0310-8789-dd5450dbe970

src/plugins/preauth/pkinit/Makefile.in

index 7542e3cb1ec29db397d7595ce36195076933ffaa..d5fcc82a67f3fccf90a7d355fc7303b434a7a3ad 100644 (file)
@@ -21,7 +21,7 @@ SHLIB_EXPDEPS = \
        $(TOPLIBD)/libk5crypto$(SHLIBEXT) \
        $(TOPLIBD)/libkrb5$(SHLIBEXT)
 LIBS+= -lcrypto
-SHLIB_EXPLIBS= -lkrb5 -lcom_err -lk5crypto -ldl $(SUPPORT_LIB) $(LIBS)
+SHLIB_EXPLIBS= -lkrb5 -lcom_err -lk5crypto $(DL_LIB) $(SUPPORT_LIB) $(LIBS)
 
 SHLIB_DIRS=-L$(TOPLIBD)
 SHLIB_RDIRS=$(KRB5_LIBDIR)