Nirbheek Chauhan
674b520206
pkgconfig: Only warn for suffix if the filename doesn't start with lib
2016-10-12 21:22:54 +05:30
Nirbheek Chauhan
d819914af0
pkgconfig: Warn if library has name_prefix/suffix set
...
GCC/Clang won't be able to find it via an -lfoo flag, so the pkg-config
file might be unusable.
Fixes https://github.com/mesonbuild/meson/issues/889
2016-10-12 13:40:08 +05:30
grindhold
167deda665
module pkgconfig: added install_dir attribute ( #776 )
...
the pkgconfig module automatically specified to install the
pkgconfig file to {libdir}/pkgconfig. Default settings in meson
already include multiarch-directories like x86_64-gnu-linux into
the libdir. pkgconfig usually does not check inside multiarch-dirs
for any pkgconfig-files.
to make this a bit more flexible, this commit introduces the
install_dir attribute for pkgconfig.generate. if it is set, the
default install path will be overridden by the users input
2016-09-11 00:20:49 +03:00
TingPing
0e79664155
Minor pkgconfig module cleanups ( #748 )
...
* pkgconfig: Remove unused function
Leftover copy from modtest
* Add self to authors.txt
2016-09-02 23:11:54 +03:00
Elliott Sales de Andrade
4c71695e41
Use context manager for file I/O.
...
There are a few cases where a context manager cannot be used, such as
the logger.
2016-08-27 18:29:55 -04:00
Elliott Sales de Andrade
a2321b24f6
Flatten isinstance calls. ( #715 )
...
That is, isinstance(x, y) or isinstance(x, z) can be flattened with a
tuple to isinstance(x, (y, z)).
2016-08-27 15:47:29 +03:00
Ippytraxx
8ea17322e4
Add custom_install_dir to ld path in pkgconfig module
2016-06-17 10:08:59 +02:00
Hemmo Nieminen
336904b553
Move MesonException from coredata to mesonlib.
2016-04-01 00:52:45 +03:00
Jussi Pakkanen
26f647d728
And private libraries.
2016-03-30 22:15:25 +03:00
Jussi Pakkanen
c0c9a96c36
Can set requires manually into generated pc files.
2016-03-30 21:38:18 +03:00
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
2016-01-16 17:35:29 +02:00