]> granicus.if.org Git - sudo/commitdiff
Honor LDFLAGS when linking sesh; from Vita Cizek
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 9 Mar 2012 15:07:00 +0000 (10:07 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 9 Mar 2012 15:07:00 +0000 (10:07 -0500)
--HG--
branch : 1.8

src/Makefile.in

index cf89c85621fdf46a5b9dfd710dd7c582d1e07286..5e6e6ab64625e24c4dd70672911aba96d39e53dc 100644 (file)
@@ -100,7 +100,7 @@ libsudo_noexec.la: sudo_noexec.lo
        $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LTLDFLAGS) -o $@ sudo_noexec.lo -avoid-version -rpath $(noexecdir)
 
 sesh: sesh.o error.o exec_common.o @LIBINTL@ $(LT_LIBS)
-       $(LIBTOOL) --mode=link $(CC) -o $@ sesh.o error.o exec_common.o @LIBINTL@ $(LIBS) -static-libtool-libs
+       $(LIBTOOL) --mode=link $(CC) -o $@ sesh.o error.o exec_common.o $(LDFLAGS) @LIBINTL@ $(LIBS) -static-libtool-libs
 
 pre-install: