--- misc/Makefile.orig +++ misc/Makefile @@ -203,14 +203,18 @@ $(OFILE_DIR)/indr.private.o $(DSYMUTIL) $(SYMROOT)/indr.NEW -strip.NEW: strip.o +strip.NEW: strip.o PruneTrie.o $(CC) $(RC_CFLAGS) -nostdlib -r \ -o $(OBJROOT)/strip.private.o \ $(OFILE_DIR)/strip.o $(LIBSTUFF) $(CXX) $(RC_CFLAGS) $(SDK) -o $(SYMROOT)/strip.NEW \ - $(OFILE_DIR)/strip.private.o $(LIB_PRUNETRIE) $(CXXLIB) + $(OFILE_DIR)/strip.private.o $(OFILE_DIR)/PruneTrie.o $(CXXLIB) $(DSYMUTIL) $(SYMROOT)/strip.NEW +PruneTrie.o: PruneTrie.cpp + $(CXX) $(CXXFLAGS) $(RC_CFLAGS) $(SDK) $(CXXLIB) -c -o \ + $(OBJROOT)/PruneTrie.o $(SRCROOT)/PruneTrie.cpp + nmedit.NEW: nmedit.o $(CC) $(RC_CFLAGS) -nostdlib -r \ -o $(OBJROOT)/nmedit.private.o \ --- misc/strip.c.orig +++ misc/strip.c @@ -48,7 +48,7 @@ #include "stuff/execute.h" #include "stuff/write64.h" #ifdef TRIE_SUPPORT -#include +#include "prune_trie.h" #endif /* TRIE_SUPPORT */ /* These are set from the command line arguments */