patch-config_common_make_rules 870 B

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