now include LDFLAGS in the sudoers Makefile.in.
Add missing settng of @LDFLAGS@ in plugin Makefile.in files.
blibpath_add="${blibpath_add}:$i"
fi
-
- if test X"$with_rpath" = X"yes"; then
- case "$host" in
- *-*-hpux*) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L$i -Wl,+b,$i"
- ;;
- *) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L$i -Wl,-R$i"
- ;;
- esac
- else
- SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L$i"
- fi
- if test X"$blibpath" != X"" -a "SUDOERS_LDFLAGS" = "SUDO_LDFLAGS"; then
- blibpath_add="${blibpath_add}:$i"
- fi
-
done
fi
if test -n "$with_libraries"; then
if test -n "$with_libpath"; then
for i in ${with_libpath}; do
SUDO_APPEND_LIBPATH(LDFLAGS, [$i])
- SUDO_APPEND_LIBPATH(SUDOERS_LDFLAGS, [$i])
done
fi
if test -n "$with_libraries"; then
CFLAGS = @CFLAGS@
# Flags to pass to the link stage
-LDFLAGS =
+LDFLAGS = @LDFLAGS@
LTLDFLAGS = @LTLDFLAGS@
# Where to install things...
CFLAGS = @CFLAGS@
# Flags to pass to the link stage
-LDFLAGS =
+LDFLAGS = @LDFLAGS@
LTLDFLAGS = @LTLDFLAGS@
# Where to install things...
CFLAGS = @CFLAGS@
# Flags to pass to the link stage
-LDFLAGS =
-SUDOERS_LDFLAGS = @SUDOERS_LDFLAGS@
+LDFLAGS = @LDFLAGS@
+SUDOERS_LDFLAGS = @LDFLAGS@ @SUDOERS_LDFLAGS@
LTLDFLAGS = @LTLDFLAGS@
# Where to install things...