1 --- espeak-1.37-source/src/Makefile-orig 2008-08-08 20:04:39.001556000 -0500 2 +++ espeak-1.37-source/src/Makefile 2008-08-08 20:04:42.246443000 -0500 3 @@ -15,7 +15,7 @@ LIB_VERSION = 1 4 LIBTAG = $(LIB_VERSION).$(RELEASE) 5 6 # Use SONAME_OPT=-Wl,h, on Solaris 7 -SONAME_OPT=-Wl,-soname, 8 +SONAME_OPT=-h 9 10 # Use EXTRA_LIBS=-lm on Solaris 11 EXTRA_LIBS = 12 @@ -60,15 +60,15 @@ libespeak_SOURCES = speak_lib.cpp compil 13 14 SRCS1=$(speak_SOURCES) 15 OBJS1=$(patsubst %.cpp,%.o,$(SRCS1)) 16 -LIBS1=-lstdc++ $(LIB_AUDIO) -lpthread $(EXTRA_LIBS) 17 +LIBS1=$(LIB_AUDIO) -lpthread $(EXTRA_LIBS) 18 19 SRCS2=$(libespeak_SOURCES) 20 OBJS2=$(patsubst %.cpp,x_%.o,$(SRCS2)) 21 -LIBS2=-lstdc++ $(LIB_AUDIO) -lpthread 22 +LIBS2=$(LIB_AUDIO) -lpthread 23 24 SRCS3 = espeak.cpp 25 OBJS3=$(patsubst %.cpp,%.o,$(SRCS3)) 26 -LIBS3=-lstdc++ -L . -lespeak 27 +LIBS3=-L . -lespeak 28 29 CXXFLAGS=-O2 30 31 @@ -92,7 +92,7 @@ x_%.o: %.cpp 32 -I. -D LIBRARY -c -fno-exceptions $< -o x_$*.o 33 34 $(LIB_NAME): $(OBJS2) 35 - $(CXX) -shared $(SONAME_OPT)$(LIB_NAME).$(LIB_VERSION) -o $@ $(OBJS2) $(LIBS2) 36 + $(CXX) -G $(SONAME_OPT)$(LIB_NAME).$(LIB_VERSION) -o $@ $(OBJS2) $(LIBS2) 37 38 $(STATIC_LIB_NAME): $(OBJS2) 39 $(AR) cqs $(STATIC_LIB_NAME) $(OBJS2) 40