freebsd-ports/audio/flite/files/patch-config_common__make__rules
Kurt Jaeger 997c3c9b63 audio/flite: upgrade 1.4 -> 2.1
PR:		216018
Submitted by:	Simun Mikecin <numisemis@yahoo.com>, pi, jrm
Reviewed by:	tobik
Approved by:	sobomax (maintainer timeout)
Differential Revision:	D19138
2019-02-10 16:34:42 +00:00

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