Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / tools / macos-setup-patches / qt-fix-pc-files
blobd30edb079df5d8443aa9085efa9f764740adaba3
1 #! /bin/sh
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.
16 if [ "$#" != 1 ]
17 then
18 echo "Usage: qt-fix-pc-files <top-level Qt directory>" 1>&1
19 exit 1
21 find "$1" -name "*.pc" -exec tools/macos-setup-patches/qt-fix-pc-file {} ";"