Make sure SONAME is set/used when building eSpeak shared library.
--- a/ChangeLog Sun Aug 17 16:54:40 2008 +0000
+++ b/ChangeLog Mon Aug 18 14:18:12 2008 +0000
@@ -1,3 +1,7 @@
+2008-08-18 Willie Walker <[email protected]>
+
+ * patches/espeak-01-makefile.diff: make sure SONAME is set/used
+
2008-08-16 Halton Huo <[email protected]>
Make mplayer and its dependencies built and work on
--- a/patches/espeak-01-makefile.diff Sun Aug 17 16:54:40 2008 +0000
+++ b/patches/espeak-01-makefile.diff Mon Aug 18 14:18:12 2008 +0000
@@ -5,7 +5,7 @@
# Use SONAME_OPT=-Wl,h, on Solaris
-SONAME_OPT=-Wl,-soname,
-+#SONAME_OPT=-Wl,-soname,
++SONAME_OPT=-h
# Use EXTRA_LIBS=-lm on Solaris
EXTRA_LIBS =
@@ -33,7 +33,7 @@
$(LIB_NAME): $(OBJS2)
- $(CXX) -shared $(SONAME_OPT)$(LIB_NAME).$(LIB_VERSION) -o $@ $(OBJS2) $(LIBS2)
-+ $(CXX) -G -o $@ $(OBJS2) $(LIBS2)
++ $(CXX) -G $(SONAME_OPT)$(LIB_NAME).$(LIB_VERSION) -o $@ $(OBJS2) $(LIBS2)
$(STATIC_LIB_NAME): $(OBJS2)
$(AR) cqs $(STATIC_LIB_NAME) $(OBJS2)