pkg-config/check/no-variables.pc
Dan Nicholson 1184d2085a Don't crash on --print-variables when there are no variables
Apparently g_hash_table_foreach doesn't check for NULL input, so make
sure we don't call it to print the variables if the variable list is
empty.

Freedesktop #54721
2012-10-13 09:06:18 -07:00

3 lines
105 B
PkgConfig

Name: No Variables
Description: Test package having no variables to check --print-variables
Version: 4.2