3 # Fix the .pc files for versions of Qt installed from binary packages.
5 # Wireshark - Network traffic analyzer
6 # By Gerald Combs <gerald@wireshark.org>
7 # Copyright 2014 Gerald Combs
9 # SPDX-License-Identifier: GPL-2.0-or-later
11 # See bug QTBUG-35256 for the full painful story. Shorter version:
12 # the macOS Qt packages provide the Qt components as frameworks, but
13 # the .pc files don't generate the right CFLAGS/CXXFLAGS to make
14 # that work, so autoconf doesn't work correctly.
18 echo "Usage: qt-fix-pc-files <top-level Qt directory>" 1>&1
21 find "$1" -name "*.pc" -exec tools
/macos-setup-patches
/qt-fix-pc-file
{} ";"