libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Windows-style paths for dependency_libs in .la files


From: Christopher Hulbert
Subject: Windows-style paths for dependency_libs in .la files
Date: Mon, 23 Mar 2009 10:34:32 -0400

I have a package with a few libraries where some of the libraries
depend on the others. I specify the dependent libraries in LIBADD as
$(top_builddir)/liba/liba.la. In the dependency_libs of the .la in the
build directory, the paths are expanded in a UNIX fashion. On cygwin,
this causes minor issues when building (I say minor because my
compiler, PGI, ignores the unrecognized file). After installing the
package, the dependency_libs of the installed .la file is fixed so
that all the libraries are in Windows path style. Would it be possible
to have the .la file in the build directory have Windows-style paths
as well?

For example (note the first 2 entries):

In the .la file in the build directory:
dependency_libs='
/home/chulbert/ISLdevel/build-cygwin-x86/scats/libseke/libseke.la
/home/chulbert/ISLdevel/build-cygwin-x86/scats/libscatsio/libscatsio.la
-LC:/cygwin/home/chulbert/isl-scrd/i686-pc-cygwin/lib
-Lc:/cygwin/home/chulbert/software/x86/lib
C:/cygwin/home/chulbert/isl-scrd/i686-pc-cygwin/lib/libisl_edb.la
c:/cygwin/home/chulbert/software/x86/lib/libxml2.la
C:/cygwin/home/chulbert/isl-scrd/i686-pc-cygwin/lib/libgctpc.la
C:/cygwin/home/chulbert/isl-scrd/i686-pc-cygwin/lib/libislm.la
C:/cygwin/home/chulbert/isl-scrd/i686-pc-cygwin/lib/libisl.la -lz'

In the installed .la file:
dependency_libs='
C:/cygwin/home/chulbert/isl-scrd/i686-pc-cygwin/lib/libseke.la
C:/cygwin/home/chulbert/isl-scrd/i686-pc-cygwin/lib/libscatsio.la
-LC:/cygwin/home/chulbert/isl-scrd/i686-pc-cygwin/lib
-Lc:/cygwin/home/chulbert/software/x86/lib
C:/cygwin/home/chulbert/isl-scrd/i686-pc-cygwin/lib/libisl_edb.la
c:/cygwin/home/chulbert/software/x86/lib/libxml2.la
C:/cygwin/home/chulbert/isl-scrd/i686-pc-cygwin/lib/libgctpc.la
C:/cygwin/home/chulbert/isl-scrd/i686-pc-cygwin/lib/libislm.la
C:/cygwin/home/chulbert/isl-scrd/i686-pc-cygwin/lib/libisl.la -lz'

Chris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]