changeset 3035:bc862007dc1d

MacOS target: build libid3tag correctly.
author nenolod@tiamat.local
date Wed, 11 Jul 2007 05:53:25 -0500
parents e8ab8597ac77
children 06dd5f78c023
files configure.ac src/libid3tag/Makefile
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed Jul 11 05:33:40 2007 -0500
+++ b/configure.ac	Wed Jul 11 05:53:25 2007 -0500
@@ -161,7 +161,7 @@
 		AC_MSG_RESULT([Mac OS X: -fPIC -bundle -fno-common -flat_namespace -undefined suppress, .dylib])
 		PICFLAGS="-fPIC -DPIC"
 		PICLDFLAGS="-fPIC -DPIC -bundle -fno-common -flat_namespace -undefined suppress"
-		LIBLDFLAGS="-dynamiclib"
+		LIBLDFLAGS="-dynamiclib -flat_namespace -undefined suppress"
 		AUDLDFLAGS=""
 		SHARED_SUFFIX=".dylib"
 		;;
--- a/src/libid3tag/Makefile	Wed Jul 11 05:33:40 2007 -0500
+++ b/src/libid3tag/Makefile	Wed Jul 11 05:53:25 2007 -0500
@@ -1,7 +1,9 @@
 include ../../mk/rules.mk
 include ../../mk/init.mk
 
-OBJECTIVE_LIBS = libaudid3tag.so
+OBJECTIVE_LIBS = libaudid3tag$(SHARED_SUFFIX)
+
+PICLDFLAGS = $(LIBLDFLAGS)
 
 LIBDIR = $(plugindir)