2005-12-24 11:01:55 -05:00
|
|
|
$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 $@
|
2004-12-22 02:00:14 -05:00
|
|
|
@ rm -rf shared_os && mkdir shared_os
|
2005-12-24 11:01:55 -05:00
|
|
|
- @ rm -f $@ $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
|
|
|
|
+ @ rm -f $@ $(LIBDIR)/$@.${LIB$@_VERSION}
|
2004-12-22 02:00:14 -05:00
|
|
|
@ (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)/$@
|
2005-12-24 11:01:55 -05:00
|
|
|
+ @ (cd shared_os && $(CC) -shared -o ../$@.${LIB$@_VERSION} *.os)
|
|
|
|
+ @ ln -s $(LIBDIR)/$@.${LIB$@_VERSION} $(LIBDIR)/$@
|
2004-12-22 02:00:14 -05:00
|
|
|
@ rm -rf shared_os
|
|
|
|
|
|
|
|
.make_build_dirs:
|