$OpenBSD: patch-make_common_mak,v 1.3 2013/10/02 10:45:25 ajacoutot Exp $
--- make/common.mak.orig	Thu Aug 15 01:20:27 2013
+++ make/common.mak	Tue Oct  1 20:05:32 2013
@@ -164,7 +164,7 @@ TARGET_LIBS	= $(PTLIBDIR)/lib_$(PLATFORM_TYPE)/$(PTLIB
 
 # distinguish betweek building and using pwlib
 ifeq (,$(wildcard $(PTLIBDIR)/src))
-TARGET_LIBS     = $(SYSLIBDIR)/$(PTLIB_FILE)
+TARGET_LIBS     = $(SYSLIBDIR)/$(PTLIB_FILE).${LIBpt_VERSION}
 endif
 
 $(TARGET):	$(OBJS) $(TARGET_LIBS)
