|
From: | Reuben Thomas |
Subject: | Re: Problems using relocatable on Win32 |
Date: | Mon, 11 Dec 2017 10:32:24 +0000 |
Reuben Thomas wrote:
> For case 1, am I correct in thinking
> there is no variable that contains this directory, i.e. "the directory
> where shared libraries are installed"? As far as I can tell, this
> directory is computed by libtool, and I can't see a better way than
> effectively recomputing it, that is, use bindir when the platform is
> cygwin, mingw or cegcc, and libdir otherwise.
Correct. You need to define it by yourself. An Automake conditional
based on "$host_os" will do the trick.
AM_CONDITIONAL([SHLIBS_IN_BINDIR], [case "$host_os" in mingw* | cygwin*) true;; *) false;; esac])
if SHLIBS_IN_BINDIR
AM_CPPFLAGS += -DINSTALLDIR=\"$(bindir)\"
else
AM_CPPFLAGS += -DINSTALLDIR=\"$(libdir)\"
endif
0001-Use-better-texinfo-tags-in-a-few-cases.patch
Description: Text Data
0002-doc-Improve-explanation-of-supporting-relocatable-li.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |