Title: [92203] trunk/Source/WebCore
Revision
92203
Author
[email protected]
Date
2011-08-02 10:33:45 -0700 (Tue, 02 Aug 2011)

Log Message

[chromium] Fix unresolved symbols error when linking to libwebkit.dylib
https://bugs.webkit.org/show_bug.cgi?id=65498

Reviewed by Dimitri Glazkov.

* WebCore.gyp/mac/adjust_visibility.sh:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (92202 => 92203)


--- trunk/Source/WebCore/ChangeLog	2011-08-02 17:31:52 UTC (rev 92202)
+++ trunk/Source/WebCore/ChangeLog	2011-08-02 17:33:45 UTC (rev 92203)
@@ -1,3 +1,12 @@
+2011-08-02  Nico Weber  <[email protected]>
+
+        [chromium] Fix unresolved symbols error when linking to libwebkit.dylib
+        https://bugs.webkit.org/show_bug.cgi?id=65498
+
+        Reviewed by Dimitri Glazkov.
+
+        * WebCore.gyp/mac/adjust_visibility.sh:
+
 2011-08-02  Mihnea Ovidenie  <[email protected]>
 
         hover then un-hover makes state change

Modified: trunk/Source/WebCore/WebCore.gyp/mac/adjust_visibility.sh (92202 => 92203)


--- trunk/Source/WebCore/WebCore.gyp/mac/adjust_visibility.sh	2011-08-02 17:31:52 UTC (rev 92202)
+++ trunk/Source/WebCore/WebCore.gyp/mac/adjust_visibility.sh	2011-08-02 17:33:45 UTC (rev 92203)
@@ -79,6 +79,17 @@
   # Change directories to extract the archive to ensure correct pathnames.
   (cd "${ARCH_DIR}" && ar -x "${INPUT_NAME}")
 
+  # libWebKitSystemInterfaceLeopard.a's cuDbUtils.o references a few symbols
+  # that are not defined in any framework in OS X 10.5. If it's linked into a
+  # libwebkit.dylib with -Wl,-all_load, linking to libwebkit.dylib will result
+  # in these unresolved symbols:
+  # __ZN8Security12KeychainCore6Schema22X509CrlSchemaIndexListE$non_lazy_ptr
+  # __ZN8Security12KeychainCore6Schema23X509CrlSchemaIndexCountE$non_lazy_ptr
+  # __ZN8Security12KeychainCore6Schema26X509CrlSchemaAttributeListE$non_lazy_ptr
+  # __ZN8Security12KeychainCore6Schema27X509CrlSchemaAttributeCountE$non_lazy_ptr
+  # Since nothing in cuDbUtils.o is needed, just remove it.
+  rm "${ARCH_DIR}"/cuDbUtils.o
+
   # Use ld -r to relink each object that was in the archive.  Providing an
   # empty -exported_symbols_list will transform all symbols to private_extern;
   # these symbols are retained with -keep_private_externs.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to