summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-06-20 11:49:40 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-06-20 11:50:57 +0200
commit20b0fba06e05893986235a707a9309d88f2947b9 (patch)
treec34502cb46d045366ed16c479324502faec5ee8f
parent0d83035dc39e22527ac9937a25671c9e26743e85 (diff)
ios: only include the header listed in the package
-rw-r--r--cerbero/packages/osx/packager.py5
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):