diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2013-04-17 07:56:19 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2013-05-17 05:13:14 -0700 |
commit | f655cf91a011e85f1d2988702862d3a70b7de834 (patch) | |
tree | 574873cacba538cb3a2552d6a99ea9cd9626922e /pkg.h | |
parent | a65d5cff5fdc842b9567d56771193820ae48b7b7 (diff) | |
download | pkg-config-f655cf91a011e85f1d2988702862d3a70b7de834.tar.gz |
Store the original prefix value in the package
Avoids making implicit assumptions about parse ordering needed to store
the original prefix as a static file local variable.
Diffstat (limited to 'pkg.h')
-rw-r--r-- | pkg.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -85,6 +85,9 @@ struct _Package int libs_num; /* Number of times the "Libs" header has been seen */ int libs_private_num; /* Number of times the "Libs.private" header has been seen */ gboolean in_requires_chain; /* package is in current Requires chain */ +#ifdef G_OS_WIN32 + char *orig_prefix; /* original prefix value before redefinition */ +#endif }; Package *get_package (const char *name); |