diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-11-16 22:03:26 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-11-18 17:37:35 -0500 |
commit | a01919976eb08277bad78bb22937601cf5a862e0 (patch) | |
tree | e366cba35d5e16664c5e3557fd44eb5f17149b07 /mesonbuild/modules/pkgconfig.py | |
parent | 996f4d89f3d60731306a6a72b339eb5c2dbb5020 (diff) | |
download | meson-a01919976eb08277bad78bb22937601cf5a862e0.zip meson-a01919976eb08277bad78bb22937601cf5a862e0.tar.gz meson-a01919976eb08277bad78bb22937601cf5a862e0.tar.bz2 |
Always specify installed data with a File object. Closes #858.
Diffstat (limited to 'mesonbuild/modules/pkgconfig.py')
-rw-r--r-- | mesonbuild/modules/pkgconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/pkgconfig.py b/mesonbuild/modules/pkgconfig.py index 3ecb40d..9f50b0e 100644 --- a/mesonbuild/modules/pkgconfig.py +++ b/mesonbuild/modules/pkgconfig.py @@ -138,7 +138,7 @@ class PkgConfigModule: self.generate_pkgconfig_file(state, libs, subdirs, name, description, url, version, pcfile, pub_reqs, priv_reqs, conflicts, priv_libs) - return build.Data(False, state.environment.get_scratch_dir(), [pcfile], pkgroot) + return build.Data(mesonlib.File(True, state.environment.get_scratch_dir(), pcfile), pkgroot) def initialize(): return PkgConfigModule() |