<br><br><div class="gmail_quote">On Mon, May 2, 2011 at 8:31 PM, Sean McGovern <span dir="ltr"><<a href="mailto:gseanmcg@gmail.com">gseanmcg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
---<br>
configure | 10 +++++-----<br>
1 files changed, 5 insertions(+), 5 deletions(-)<br>
<br>
diff --git a/configure b/configure<br>
index ca4f449..1dd255d 100755<br>
--- a/configure<br>
+++ b/configure<br>
@@ -966,25 +966,25 @@ if [ "$shared" = "yes" ]; then<br>
echo 'IMPLIBNAME=libx264.dll.lib' >> config.mak<br>
# GNU ld on windows defaults to exporting all global functions if there are no explicit __declspec(dllexport) declarations<br>
# MSVC link does not act similarly, so it is required to make an export definition out of x264.h and use it at link time<br>
- echo 'SOFLAGS=-dll -def:x264.def -implib:$(IMPLIBNAME)' >> config.mak<br>
+ echo "SOFLAGS=-dll -def:x264.def -implib:\$(IMPLIBNAME) $SOFLAGS" >> config.mak<br>
echo "EXPORTS" > x264.def<br>
grep "^\(int\|void\|x264_t\|extern\).*x264.*[\[(;]" x264.h | sed -e "s/.*\(x264.*\)[\[(].*/\1/;s/.*\(x264.*\);/\1/;s/open/open_$API/g" >> x264.def<br>
else<br>
echo 'IMPLIBNAME=libx264.dll.a' >> config.mak<br>
- echo 'SOFLAGS=-shared -Wl,--out-implib,$(IMPLIBNAME) -Wl,--enable-auto-image-base' >> config.mak<br>
+ echo "SOFLAGS=-shared -Wl,--out-implib,\$(IMPLIBNAME) -Wl,--enable-auto-image-base $SOFLAGS" >> config.mak<br>
fi<br>
elif [ "$SYS" = "MACOSX" ]; then<br>
echo "SOSUFFIX=dylib" >> config.mak<br>
echo "SONAME=libx264.$API.dylib" >> config.mak<br>
- echo 'SOFLAGS=-shared -dynamiclib -Wl,-single_module -Wl,-read_only_relocs,suppress -install_name $(DESTDIR)$(libdir)/$(SONAME)' >> config.mak<br>
+ echo "SOFLAGS=-shared -dynamiclib -Wl,-single_module -Wl,-read_only_relocs,suppress -install_name \$(DESTDIR)\$(libdir)/\$(SONAME) $SOFLAGS" >> config.mak<br>
elif [ "$SYS" = "SunOS" ]; then<br>
echo "SOSUFFIX=so" >> config.mak<br>
echo "SONAME=libx264.so.$API" >> config.mak<br>
- echo 'SOFLAGS=-shared -Wl,-h,$(SONAME)' >> config.mak<br>
+ echo "SOFLAGS=-shared -Wl,-h,\$(SONAME) $SOFLAGS" >> config.mak<br>
else<br>
echo "SOSUFFIX=so" >> config.mak<br>
echo "SONAME=libx264.so.$API" >> config.mak<br>
- echo 'SOFLAGS=-shared -Wl,-soname,$(SONAME)' >> config.mak<br>
+ echo "SOFLAGS=-shared -Wl,-soname,\$(SONAME) $SOFLAGS" >> config.mak<br>
fi<br>
echo 'default: $(SONAME)' >> config.mak<br>
fi<br>
<font color="#888888">--<br>
1.7.5<br>
<br>
_______________________________________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">http://mailman.videolan.org/listinfo/x264-devel</a><br>
</font></blockquote></div><br><div>Ping.</div>