[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] unresolved symbols in (shared) libs
From: |
Rex Dieter |
Subject: |
Re: [Openexr-devel] unresolved symbols in (shared) libs |
Date: |
Fri, 10 Feb 2006 06:45:06 -0600 |
User-agent: |
Mozilla Thunderbird 1.0.6 (Windows/20050716) |
Rex Dieter wrote:
Bob Friesenhahn wrote:
Library dependencies should be specified using LIBADD rather than
LDFLAGS. This is because Automake knows about libraries specified via
LIBADD but not via LDFLAGS.
Good point, I'll re-work the patch and re-send.
Reworked patch using LIBADD, dropping non-portable -Wl,... bits.
-- Rex
--- OpenEXR-1.2.2/Half/Makefile.am.165729 2004-02-05 23:22:01.000000000
-0600
+++ OpenEXR-1.2.2/Half/Makefile.am 2006-02-09 22:42:18.000000000 -0600
@@ -4,7 +4,7 @@
libHalf_la_SOURCES = half.cpp half.h halfFunction.h halfLimits.h
-libHalf_la_LDFLAGS = -version-info @LIBTOOL_VERSION@
+libHalf_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ -no-undefined
libHalfincludedir = $(includedir)/OpenEXR
--- OpenEXR-1.2.2/IlmImf/Makefile.am.165729 2004-12-16 20:01:57.000000000
-0600
+++ OpenEXR-1.2.2/IlmImf/Makefile.am 2006-02-09 22:44:15.000000000 -0600
@@ -54,7 +54,8 @@
ImfPxr24Compressor.cpp ImfPxr24Compressor.h \
ImfTestFile.cpp ImfTestFile.h
-libIlmImf_la_LDFLAGS = -version-info @LIBTOOL_VERSION@
+libIlmImf_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ -no-undefined
+libIlmImf_la_LIBADD = ../Half/libHalf.la ../Iex/libIex.la -lz
libIlmImfincludedir = $(includedir)/OpenEXR
--- OpenEXR-1.2.2/Imath/Makefile.am.165729 2005-03-07 22:21:53.000000000
-0600
+++ OpenEXR-1.2.2/Imath/Makefile.am 2006-02-09 22:43:41.000000000 -0600
@@ -15,7 +15,8 @@
ImathFrame.h ImathPlatform.h \
ImathBox.cpp ImathRandom.cpp
-libImath_la_LDFLAGS = -version-info @LIBTOOL_VERSION@
+libImath_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ -no-undefined
+libImath_la_LIBADD = ../Iex/libIex.la
libImathincludedir = $(includedir)/OpenEXR
--- OpenEXR-1.2.2/Iex/Makefile.am.165729 2004-02-05 23:22:01.000000000
-0600
+++ OpenEXR-1.2.2/Iex/Makefile.am 2006-02-09 22:42:18.000000000 -0600
@@ -6,7 +6,7 @@
IexErrnoExc.h Iex.h IexMacros.h IexMathExc.h \
IexThrowErrnoExc.h
-libIex_la_LDFLAGS = -version-info @LIBTOOL_VERSION@
+libIex_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ -no-undefined
libIexincludedir = $(includedir)/OpenEXR