[csw-devel] SF.net SVN: gar:[13564] csw/mgar/pkg/id3lib/trunk/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Fri Mar 4 22:28:22 CET 2011
Revision: 13564
http://gar.svn.sourceforge.net/gar/?rev=13564&view=rev
Author: dmichelsen
Date: 2011-03-04 21:28:22 +0000 (Fri, 04 Mar 2011)
Log Message:
-----------
id3lib: Ensure library is self-sufficient
Modified Paths:
--------------
csw/mgar/pkg/id3lib/trunk/Makefile
Modified: csw/mgar/pkg/id3lib/trunk/Makefile
===================================================================
--- csw/mgar/pkg/id3lib/trunk/Makefile 2011-03-04 21:12:46 UTC (rev 13563)
+++ csw/mgar/pkg/id3lib/trunk/Makefile 2011-03-04 21:28:22 UTC (rev 13564)
@@ -18,6 +18,7 @@
CATALOGNAME_CSWlibid3-3-8-3 = libid3_3_8_3
SPKG_DESC_CSWlibid3-3-8-3 = Library for manipulating ID3v1/v1.1 and ID3v2 tags, libid3-3.8.so.3
PKGFILES_CSWlibid3-3-8-3 = $(call baseisadirs,$(libdir),libid3-3\.8\.so\.3(\.\d+)*)
+RUNTIME_DEP_PKGS_CSWlibid3-3-8-3 += CSWzlib
PACKAGES += CSWlibid3-dev
CATALOGNAME_CSWlibid3-dev = libid3_dev
@@ -37,6 +38,14 @@
EXTRA_LDFLAGS = -norunpath
+# The following part is to make the library self-sufficient
+# (that means a simple -lid3 is sufficient).
+# We link with /usr/ccs/bin/ld which requires setting the path to libCstd.so,
+# using CC as linker would have made this automatic.
+SUBDIR64-sparc = v9
+SUBDIR64-i386 = amd64
+EXTRA_LINKER_FLAGS = -L$($(GARCOMPILER)_CC_HOME)/lib/$(SUBDIR$(MEMORYMODEL)-$(GARCH)) -lCstd -lz
+
BUILD64 = 1
NOISAEXEC = 1
CONFIGURE_ARGS = $(DIRPATHS)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list