diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-06-20 11:49:40 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-06-20 11:50:57 +0200 |
commit | 20b0fba06e05893986235a707a9309d88f2947b9 (patch) | |
tree | c34502cb46d045366ed16c479324502faec5ee8f | |
parent | 0d83035dc39e22527ac9937a25671c9e26743e85 (diff) |
ios: only include the header listed in the package
-rw-r--r-- | cerbero/packages/osx/packager.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cerbero/packages/osx/packager.py b/cerbero/packages/osx/packager.py index 27b4bec..cabb5aa 100644 --- a/cerbero/packages/osx/packager.py +++ b/cerbero/packages/osx/packager.py @@ -493,10 +493,7 @@ class IOSPackage(ProductPackage, FrameworkHeadersMixin): def _copy_headers(self, files, version_dir): # Get the list of headers incl_dir = os.path.join(self.config.prefix, 'include') - include_files = [os.path.join(incl_dir, x) for x in - os.listdir(incl_dir) if x.endswith('.h')] - for d in self.include_dirs: - include_files += [x for x in files if d in x] + include_files = [x for x in files if incl_dir in x] self._copy_files (include_files, version_dir) def _create_framework_bundle_packager(self): |