Add missing LIB_roken references
authorAndrew Deason <adeason@sinenomine.net>
Thu, 28 Apr 2011 21:13:20 +0000 (16:13 -0500)
committerDerrick Brashear <shadow@dementia.org>
Sat, 30 Apr 2011 05:34:30 +0000 (22:34 -0700)
With the usage of asprintf in libcmd, some more binaries require
libroken to link. Add LIB_roken to their link lines. In src/venus for
the fstrace rule, this causes the HP-UX case to be identical to the
default case, so just remove the HP-UX special case.

Change-Id: Ib4677b17a194cf79742bd5767d3f5cf2442973d3
Reviewed-on: http://gerrit.openafs.org/4590
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/platform/SOLARIS/Makefile.in
src/venus/Makefile.in

index 7468da3..478a506 100644 (file)
@@ -27,7 +27,7 @@ all: fs_conv_sol26
 # Build targets
 #
 fs_conv_sol26: fs_conv_sol26.o ${LIBS}
-       $(AFS_LDRULE) fs_conv_sol26.o ${TOP_LIBDIR}/libcmd.a ${LIBS} ${XLIBS}
+       $(AFS_LDRULE) fs_conv_sol26.o ${TOP_LIBDIR}/libcmd.a $(LIB_roken) ${LIBS} ${XLIBS}
 
 fs_conv_sol26: ${INCLS} AFS_component_version_number.c
 
index fd58d7d..c8315c2 100644 (file)
@@ -131,8 +131,6 @@ fstrace: fstrace.o
                        ${CCXPG2} ${AFS_CFLAGS} -o fstrace fstrace.o ${TOP_LIBDIR}/libsys.a ${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/util.a ;; \
                sun*_4* ) \
                        ${CC} -L/usr/xpg2lib -L/usr/5lib ${AFS_CFLAGS} -g -o fstrace fstrace.o ${TOP_LIBDIR}/libsys.a ${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/util.a -lxpg ;; \
-               hp700_ux100 | hp800_ux100 | hp?00_ux10? | hp_ux10? | hp_ux11?) \
-                       ${CC} -I${TOP_OBJDIR}/src/config  -o fstrace fstrace.o ${TOP_LIBDIR}/libsys.a ${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/util.a ;; \
                * ) \
                        $(AFS_LDRULE) fstrace.o ${TOP_LIBDIR}/libsys.a \
                                ${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/util.a \