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 /main.c | |
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 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -461,7 +461,6 @@ static const GOptionEntry options_table[] = { { "print-requires-private", 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, &output_opt_cb, "print which packages the package requires for static " "linking", NULL }, -#ifdef G_OS_WIN32 { "define-prefix", 0, 0, G_OPTION_ARG_NONE, &define_prefix, "try to override the value of prefix for each .pc file found with a " "guesstimated value based on the location of the .pc file", NULL }, @@ -472,6 +471,7 @@ static const GOptionEntry options_table[] = { { "prefix-variable", 0, 0, G_OPTION_ARG_STRING, &prefix_variable, "set the name of the variable that pkg-config automatically sets", "PREFIX" }, +#ifdef G_OS_WIN32 { "msvc-syntax", 0, 0, G_OPTION_ARG_NONE, &msvc_syntax, "output -l and -L flags for the Microsoft compiler (cl)", NULL }, #endif |