[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems using relocatable on Win32
From: |
Bruno Haible |
Subject: |
Re: Problems using relocatable on Win32 |
Date: |
Sun, 10 Dec 2017 13:33:49 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-101-generic; KDE/5.18.0; x86_64; ; ) |
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
Bruno
- Problems using relocatable on Win32, Reuben Thomas, 2017/12/09
- Re: Problems using relocatable on Win32, Bruno Haible, 2017/12/09
- Re: Problems using relocatable on Win32, Reuben Thomas, 2017/12/09
- Re: Problems using relocatable on Win32, Reuben Thomas, 2017/12/09
- Re: Problems using relocatable on Win32, Bruno Haible, 2017/12/09
- Re: Problems using relocatable on Win32, Reuben Thomas, 2017/12/10
- Re: Problems using relocatable on Win32,
Bruno Haible <=
- Re: Problems using relocatable on Win32, Reuben Thomas, 2017/12/11
- Re: Problems using relocatable on Win32, Reuben Thomas, 2017/12/11
- Re: Problems using relocatable on Win32, Bruno Haible, 2017/12/11
- Re: Problems using relocatable on Win32, Bruno Haible, 2017/12/09
- Re: Problems using relocatable on Win32, Bruno Haible, 2017/12/10
- Re: Problems using relocatable on Win32, Reuben Thomas, 2017/12/11