$OpenBSD: patch-config_common_make_rules,v 1.2 2005/12/24 16:01:55 espie Exp $ --- config/common_make_rules.orig Tue Feb 18 17:17:21 2003 +++ config/common_make_rules Sat Dec 24 16:54:14 2005 @@ -86,11 +86,10 @@ nothing: %.so: %.shared.a @ echo making $@ @ rm -rf shared_os && mkdir shared_os - @ rm -f $@ $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} + @ rm -f $@ $(LIBDIR)/$@.${LIB$@_VERSION} @ (cd shared_os && ar x ../$<) - @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os) - @ ln -s $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} - @ ln -s $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} $(LIBDIR)/$@ + @ (cd shared_os && $(CC) -shared -o ../$@.${LIB$@_VERSION} *.os) + @ ln -s $(LIBDIR)/$@.${LIB$@_VERSION} $(LIBDIR)/$@ @ rm -rf shared_os .make_build_dirs: