On Wed, 2008-10-29 at 21:09 +0000, Andy Whitcroft wrote: > It seems we are passing the LIB32/LIB64 defines to the link phase and not > the compile phase for hugectl. This means that it will not set the library > path correctly. > > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
Acked-by: Adam Litke <[EMAIL PROTECTED]> > --- > Makefile | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Makefile b/Makefile > index b9e2540..4554154 100644 > --- a/Makefile > +++ b/Makefile > @@ -297,12 +297,12 @@ obj64/%.s: %.c > $(BIN_OBJ_DIR)/%.o: %.c > @$(VECHO) CCHOST $@ > @mkdir -p $(BIN_OBJ_DIR) > - $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $< > + $(CC) $(CPPFLAGS) $(CFLAGS) $(LIBPATHS) -o $@ -c $< > > $(BIN_OBJ_DIR)/hugectl: $(BIN_OBJ_DIR)/hugectl.o > @$(VECHO) LDHOST $@ > mkdir -p $(BIN_OBJ_DIR) > - $(CC) $(CPPFLAGS) $(CFLAGS) $(LIBPATHS) -o $@ $^ > + $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $^ > > $(BIN_OBJ_DIR)/hugeedit: $(BIN_OBJ_DIR)/hugeedit.o > @$(VECHO) LDHOST $@ -- Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel