Skip to content

Commit

Permalink
simplify remove_files_by_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier committed Jan 27, 2021
1 parent 1c9259b commit b8ee11f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions recipes/qt/5.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,8 +649,7 @@ def package(self):
tools.rmdir(os.path.join(self.package_folder, "lib", "cmake"))
tools.remove_files_by_mask(os.path.join(self.package_folder, 'lib'), '*.la*')
tools.remove_files_by_mask(os.path.join(self.package_folder, 'lib'), '*.pdb*')
for root, _, _ in os.walk(os.path.join(self.package_folder, 'bin')):
tools.remove_files_by_mask(root, '*.pdb')
tools.remove_files_by_mask(os.path.join(self.package_folder, 'bin'), '*.pdb')
# "Qt5Bootstrap" is internal Qt library - removing it to avoid linking error, since it contains
# symbols that are also in "Qt5Core.lib". It looks like there is no "Qt5Bootstrap.dll".
for fl in glob.glob(os.path.join(self.package_folder, "lib", "*Qt5Bootstrap*")):
Expand Down

0 comments on commit b8ee11f

Please sign in to comment.