summaryrefslogtreecommitdiff
path: root/detectenv-msvc.mak
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2016-03-01 11:28:35 -0800
committerDan Nicholson <dbn.lists@gmail.com>2016-03-01 11:28:35 -0800
commit753f0ba1e99ac8539211547b8151c6ec3816e819 (patch)
tree93caefc4cb6917367626ee683953940c2661ad12 /detectenv-msvc.mak
parent5164b9dbabdca00fbd9d6bb962c4ac9b252448a2 (diff)
downloadpkg-config-753f0ba1e99ac8539211547b8151c6ec3816e819.tar.gz
glib: Fix OSX build with internal glib
In the last internal glib update, the glib configure script changed the OSX framework flags from the form of "-framework Foo" to "-Wl,framework,Foo". Unfortunately, libtool only understands the prior form and doesn't include the appropriate -framework flags in the libglib-2.0.la file. This ultimately causes pkg-config to fail to link properly: Undefined symbols for architecture x86_64: "_CFRelease", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFStringGetCString", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFStringGetCStringPtr", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFStringGetLength", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFURLCopyFileSystemPath", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFURLCreateFromFSRef", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_FSFindFolder", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_kCFAllocatorSystemDefault", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) ld: symbol(s) not found for architecture x86_64 Upstream has fixed this by including the new style -framework flags in the glib-2.0.pc file. We can't use that here as we're bootstrapping pkg-config itself. Rather than work around this with an OSX platform check in pkg-config's configure, carry a downstream patch to revert glib's configure to using the old format. https://bugs.freedesktop.org/show_bug.cgi?id=92902
Diffstat (limited to 'detectenv-msvc.mak')
0 files changed, 0 insertions, 0 deletions