summaryrefslogtreecommitdiff
path: root/pkg.h
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2013-04-17 07:56:19 -0700
committerDan Nicholson <dbn.lists@gmail.com>2013-05-17 05:13:14 -0700
commitf655cf91a011e85f1d2988702862d3a70b7de834 (patch)
tree574873cacba538cb3a2552d6a99ea9cd9626922e /pkg.h
parenta65d5cff5fdc842b9567d56771193820ae48b7b7 (diff)
downloadpkg-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg.h b/pkg.h
index 74687dc..fe50e87 100644
--- a/pkg.h
+++ b/pkg.h
@@ -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);