$OpenBSD: patch-lib_Makefile,v 1.2 2005/12/31 14:32:14 sturm Exp $ --- lib/Makefile.orig Thu Feb 4 01:43:26 1999 +++ lib/Makefile Sat Dec 31 14:27:45 2005 @@ -25,7 +25,7 @@ # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # ############################################################################## # -LIBRARY=libXmHTML.a +LIBRARY=libXmHTML.la # Target to make TARGET=$(LIBRARY) @@ -44,9 +44,9 @@ common:: @(set -x; cd common; $(MAKE) all $(pass_flags) ) $(TARGET):: common $(PLATFORM) - $(RM) $@ \ - $(AR) $@ common/*.o $(PLATFORM)/*.o - $(RANLIB) $@ + $(RM) $@ + $(LIBTOOL) --mode=link $(CC) -o $@ common/*.lo $(PLATFORM)/*.lo \ + -rpath ${PREFIX}/lib $(LIBXmHTML_LTVERSION) depend:: @( for dir in $(SUBDIRS) ; do \