diff options
Diffstat (limited to 'macosx-setup.sh')
-rwxr-xr-x | macosx-setup.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx-setup.sh b/macosx-setup.sh index ed51aa3015..b40ff84f03 100755 --- a/macosx-setup.sh +++ b/macosx-setup.sh @@ -2381,7 +2381,9 @@ if [ "$QT_VERSION" ]; then pkg_config_path="$pkg_config_path":"$qt_base_path/lib/pkgconfig" CMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH":"$qt_base_path/lib/cmake" fi -pkg_config_path="$pkg_config_path":/usr/X11/lib/pkgconfig +if [ "$GTK_VERSION" ]; then + pkg_config_path="$pkg_config_path":/usr/X11/lib/pkgconfig +fi echo "You are now prepared to build Wireshark." echo |