Use the LTLIBICONV variable rather than LIBICONV.
With this change, instead of using the fully qualified path to the shared object (or the one that the configure think is the fully qualified path), the path where the library is found will be added to the search path and just a generic -liconv will be used. The old variable would be fooled up when /usr/lib/libiconv.so is an LD script that redirects to /lib/libiconv.so, causing failures with some linkers. Also, replace @LIBICONV@ for libcdio itself also with $(LTLIBICONV) or it will fail to link against on uClibc.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $Id: Makefile.am,v 1.12 2008/03/20 19:02:37 karl Exp $
|
||||
# $Id: Makefile.am,v 1.13 2008/08/31 13:38:21 flameeyes Exp $
|
||||
#
|
||||
# Copyright (C) 2005, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
||||
#
|
||||
@@ -49,11 +49,11 @@ paranoia2_LDADD = $(LIBCDIO_PARANOIA_LIBS) $(LIBCDIO_CDDA_LIBS) \
|
||||
endif
|
||||
|
||||
isofile_SOURCES = isofile.cpp
|
||||
isofile_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LIBICONV)
|
||||
isofile_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
|
||||
isofile2_SOURCES = isofile2.cpp
|
||||
isofile2_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LIBICONV)
|
||||
isofile2_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
|
||||
isolist_SOURCES = isolist.cpp
|
||||
isolist_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LIBICONV)
|
||||
isolist_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
|
||||
|
||||
mmc1_SOURCES = mmc1.cpp
|
||||
mmc1_DEPENDENCIES = $(LIBCDIO_DEPS)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Id: Makefile.am,v 1.12 2008/03/20 19:02:37 karl Exp $
|
||||
# $Id: Makefile.am,v 1.13 2008/08/31 13:38:21 flameeyes Exp $
|
||||
#
|
||||
# Copyright (C) 2005, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
|
||||
#
|
||||
@@ -42,19 +42,19 @@ eject_LDADD = $(LIBCDIOPP_LIBS) $(LIBCDIO_LIBS)
|
||||
|
||||
isofile_SOURCES = isofile.cpp
|
||||
isofile_LDADD = $(LIBISO9660PP_LIBS) $(LIBISO9660_LIBS) \
|
||||
$(LIBCDIOPP_LIBS) $(LIBICONV)
|
||||
$(LIBCDIOPP_LIBS) $(LTLIBICONV)
|
||||
|
||||
isofile2_SOURCES = isofile2.cpp
|
||||
isofile2_LDADD = $(LIBISO9660PP_LIBS) $(LIBISO9660_LIBS) \
|
||||
$(LIBCDIOPP_LIBS) $(LIBICONV)
|
||||
$(LIBCDIOPP_LIBS) $(LTLIBICONV)
|
||||
|
||||
isolist_SOURCES = isolist.cpp
|
||||
isolist_LDADD = $(LIBISO9660PP_LIBS) $(LIBISO9660_LIBS) \
|
||||
$(LIBCDIOPP_LIBS) $(LIBICONV)
|
||||
$(LIBCDIOPP_LIBS) $(LTLIBICONV)
|
||||
|
||||
iso4_SOURCES = iso4.cpp
|
||||
iso4_LDADD = $(LIBISO9660PP_LIBS) $(LIBISO9660_LIBS) \
|
||||
$(LIBCDIOPP_LIBS) $(LIBICONV)
|
||||
$(LIBCDIOPP_LIBS) $(LTLIBICONV)
|
||||
|
||||
mmc1_SOURCES = mmc1.cpp
|
||||
mmc1_DEPENDENCIES = $(LIBCDIO_DEPS)
|
||||
|
||||
Reference in New Issue
Block a user