Author: tfheen
Date: 2005-04-02 09:06:39 GMT
2005-04-02 Tollef Fog Heen <tfheen@err.no>
* parse.c (parse_libs): Handle -framework as a single argument.
(Freedesktop #1278)
2005-04-02 Tollef Fog Heen <tfheen@err.no>
+ * parse.c (parse_libs): Handle -framework as a single argument.
+ (Freedesktop #1278)
+
* configure.in: Remove extraneous " from --with-pc-path's help
* glib-patches/mkinstalldirs.update.diff: cvs admin -ko to avoid
g_free (libname);
}
+ else if (strcmp("-framework",p) == 0 && i+1 < argc)
+ {
+ /* Mac OS X has a -framework Foo which is really one option,
+ * so we join those to avoid having -framework Foo
+ * -framework Bar being changed into -framework Foo Bar
+ * later
+ */
+ gchar *framework = trim_string (argv[i+1]);
+
+ pkg->other_libs = g_slist_prepend (pkg->other_libs,
+ g_strconcat(arg, " ", framework, NULL));
+ i++;
+ g_free(framework);
+ }
else
{
if (*arg != '\0')