Changeset 177016 in webkit
- Timestamp:
- Dec 9, 2014 2:20:27 AM (9 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r177012 r177016 1 2014-12-09 Ting-Wei Lan <lantw44@gmail.com> 2 3 [GTK] LDFLAGS is ignored when running g-ir-scanner 4 https://bugs.webkit.org/show_bug.cgi?id=138832 5 6 Reviewed by Carlos Garcia Campos. 7 8 GTK+ requires libintl on FreeBSD because there is no gettext 9 implementation in FreeBSD libc. In order to link to libintl, which is 10 not located in the default search path of the linker, we need to add 11 the required path via the linker command line. However, LDFLAGS is 12 ignored when running g-ir-scanner starting from r167873, so we have 13 to manually pick required flags from CMAKE_SHARED_LINKER_FLAGS and 14 put them in correct order to prevent g-ir-scanner from linking to 15 the installed version of libraries. 16 17 * PlatformGTK.cmake: 18 1 19 2014-12-09 Jeremy Jones <jeremyj@apple.com> 2 20 -
trunk/Source/WebKit2/PlatformGTK.cmake
r176952 r177016 749 749 endif () 750 750 751 # Add required -L flags from ${CMAKE_SHARED_LINKER_FLAGS} for g-ir-scanner 752 string(REGEX MATCHALL "-L[^ ]*" 753 INTROSPECTION_ADDITIONAL_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS}) 754 751 755 add_custom_command( 752 756 OUTPUT ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir … … 769 773 --library=javascriptcoregtk-${WEBKITGTK_API_VERSION} 770 774 -L${CMAKE_LIBRARY_OUTPUT_DIRECTORY} 775 ${INTROSPECTION_ADDITIONAL_LINKER_FLAGS} 771 776 --no-libtool 772 777 --pkg=gobject-2.0 … … 808 813 --library=javascriptcoregtk-${WEBKITGTK_API_VERSION} 809 814 -L${CMAKE_LIBRARY_OUTPUT_DIRECTORY} 815 ${INTROSPECTION_ADDITIONAL_LINKER_FLAGS} 810 816 --no-libtool 811 817 --pkg=gobject-2.0
Note: See TracChangeset
for help on using the changeset viewer.