997c3c9b63
PR: 216018 Submitted by: Simun Mikecin <numisemis@yahoo.com>, pi, jrm Reviewed by: tobik Approved by: sobomax (maintainer timeout) Differential Revision: D19138
11 lines
736 B
Text
11 lines
736 B
Text
--- config/common_make_rules.orig 2017-10-21 14:01:07 UTC
|
|
+++ config/common_make_rules
|
|
@@ -123,7 +123,7 @@ $(LIBDIR)/%.so: $(LIBDIR)/%.shared.a
|
|
@ rm -rf shared_os && mkdir shared_os
|
|
@ rm -f $@ $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
|
|
@ (cd shared_os && ar x ../$<)
|
|
- @ (cd shared_os && $(CC) -shared -Wl,-soname,`basename $@`.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
|
|
+ @ (cd shared_os && $(CC) -shared -Wl,-soname,`basename $@`.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os $(LDFLAGS))
|
|
@ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_VERSION}` `basename $@.${PROJECT_SHLIB_VERSION}` )
|
|
@ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_SHLIB_VERSION}` `basename $@` )
|
|
@ rm -rf shared_os
|