[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 02:48:32 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-101-generic; KDE/5.18.0; x86_64; ; ) |
Hi Reuben,
> > I have a relocatable library that depends on files in pkgdatadir.
>
> So, the shared library calls relocate. relocate tries to compute
> curr_prefix_better, using get_shared_library_fullname. This will have a
> prefix of libdir (or bindir on Win32). This is why I am setting INSTALLDIR
> to libdir (but need bindir on Win32).
Oh, I see. Yes, after reading the code I confirm your finding:
INSTALLDIR should be defined
1) for the code in the relocatable library (only needed if
ENABLE_COSTLY_RELOCATABLE is not defined to 0). Its value should
be a C string that contains (for a shared library) the installation directory
of the shared library; often this will be $(libdir) on Unix excluding Cygwin,
or $(bindir) on Windows or Cygwin.
2) for the code that makes use of the relocatable library, that is, that invokes
set_program_name. Its value should be a C string that contains the
installation
directory of the program; often this will be $(bindir).
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 <=
- Re: Problems using relocatable on Win32, Reuben Thomas, 2017/12/10
- Re: Problems using relocatable on Win32, Bruno Haible, 2017/12/10
- 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