changeset 2286:861e6e6edd59 trunk

[svn] - use -Wl,-h for defining the SONAME for POSIX compatibility
author nenolod
date Fri, 05 Jan 2007 18:56:29 -0800
parents 1bb48dae5ea1
children 553fba80ac58
files ChangeLog mk/objective.mk
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jan 05 18:50:00 2007 -0800
+++ b/ChangeLog	Fri Jan 05 18:56:29 2007 -0800
@@ -1,3 +1,11 @@
+2007-01-06 02:50:00 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [3578]
+  - update bugreporting address
+  
+  trunk/audtool/audtool.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-01-06 01:59:08 +0000  William Pitcock <nenolod@nenolod.net>
   revision [3576]
   - fix "load files" action
--- a/mk/objective.mk	Fri Jan 05 18:50:00 2007 -0800
+++ b/mk/objective.mk	Fri Jan 05 18:56:29 2007 -0800
@@ -178,9 +178,9 @@
 		printf "%10s     %-20s\n" LINK $@; \
 		(if [ "x$(SHARED_SUFFIX)" = "x.so" ]; then \
 			(if [ "x$(OBJECTIVE_SONAME_SUFFIX)" != "x" ]; then \
-				$(CC) $(PICLDFLAGS) -o $@ -Wl,-soname=$@.$(OBJECTIVE_SONAME_SUFFIX) $(OBJECTS) $(LDFLAGS) $(LIBADD); \
+				$(CC) $(PICLDFLAGS) -o $@ -Wl,-h$@.$(OBJECTIVE_SONAME_SUFFIX) $(OBJECTS) $(LDFLAGS) $(LIBADD); \
 			else \
-				$(CC) $(PICLDFLAGS) -o $@ -Wl,-soname=$@ $(OBJECTS) $(LDFLAGS) $(LIBADD); \
+				$(CC) $(PICLDFLAGS) -o $@ -Wl,-h$@ $(OBJECTS) $(LDFLAGS) $(LIBADD); \
 			fi;) \
 		 else \
 			$(CC) $(PICLDFLAGS) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBADD); \