forked from osmocom/wireshark
![Guy Harris](/assets/img/avatar_default.png)
Change-Id: I1c16fe2076794e0b55b45417d9019440b0658037 Reviewed-on: https://code.wireshark.org/review/3217 Reviewed-by: Guy Harris <guy@alum.mit.edu>
16 lines
510 B
Bash
Executable file
16 lines
510 B
Bash
Executable file
#! /bin/sh
|
|
#
|
|
# Fix the .pc files for versions of Qt installed from binary packages.
|
|
#
|
|
# See bug QTBUG-35256 for the full painful story. Shorter version:
|
|
# the OS X Qt packages provide the Qt components as frameworks, but
|
|
# the .pc files don't generate the right CFLAGS/CXXFLAGS to make
|
|
# that work, so autoconf doesn't work correctly.
|
|
#
|
|
if [ "$#" != 1 ]
|
|
then
|
|
echo "Usage: qt-fix-pc-files <top-level Qt directory>" 1>&1
|
|
exit 1
|
|
fi
|
|
find "$1" -name "*.pc" -exec macosx-support-lib-patches/qt-fix-pc-file {} ";"
|