diff --git a/src/xpdev/GNUmakefile b/src/xpdev/GNUmakefile
index 0281154aeb4d9f63f912fc1e26f24ad4d33be51c..3f8f829ad12e5e22fdfd4e06b5dcf45b25c11bef 100644
--- a/src/xpdev/GNUmakefile
+++ b/src/xpdev/GNUmakefile
@@ -13,7 +13,7 @@ endif
 MT_CFLAGS	+=	$(XPDEV-MT_CFLAGS)
 
 # Executable Build Rule
-$(WRAPTEST): $(OBJODIR)/wraptest.o $(DEPS)
+$(WRAPTEST): $(MTOBJODIR)/wraptest.o $(DEPS)
 	@echo Linking $@
 	$(QUIET)$(CC) -o $@ $(LDFLAGS) $(MT_LDFLAGS) $^ $(XPDEV-MT_LIBS)