wireshark/macosx-support-lib-patches/qt-fix-pc-files
Guy Harris 2034c3ea6f Fix the path to the "fix one .pc file" script.
Change-Id: I1c16fe2076794e0b55b45417d9019440b0658037
Reviewed-on: https://code.wireshark.org/review/3217
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-07-27 20:13:05 +00:00

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 {} ";"