diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2013-04-17 18:21:33 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2013-05-17 05:13:15 -0700 |
commit | 43c1e0e4afa341ea7e4710de4dd81b0074948e68 (patch) | |
tree | d7bb9ba43bd915ef6a297b652fdf3e0627ccb378 /pkg.h | |
parent | 755639aac09d0dc2c8fc125949b287e203c697fd (diff) | |
download | pkg-config-43c1e0e4afa341ea7e4710de4dd81b0074948e68.tar.gz |
Make the --define-prefix feature available on all platforms
Allowing pkg-config to override the prefix variable in .pc files is a
useful feature for making packages relocatable. There's nothing Windows
specific about it.
Freedesktop #63602 (https://bugs.freedesktop.org/show_bug.cgi?id=63602)
Diffstat (limited to 'pkg.h')
-rw-r--r-- | pkg.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -85,9 +85,7 @@ 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); @@ -136,13 +134,13 @@ extern char *pcsysrootdir; */ extern char *pkg_config_pc_path; -#ifdef G_OS_WIN32 /* If TRUE, define "prefix" in .pc files at runtime. */ extern gboolean define_prefix; /* The name of the variable that acts as prefix, unless it is "prefix" */ extern char *prefix_variable; +#ifdef G_OS_WIN32 /* If TRUE, output flags in MSVC syntax. */ extern gboolean msvc_syntax; #endif |