Changeset 135761 in webkit


Ignore:
Timestamp:
Nov 26, 2012 2:00:15 PM (11 years ago)
Author:
Martin Robinson
Message:

[GTK] Explicitly link against librt
https://bugs.webkit.org/show_bug.cgi?id=103194

Patch by Kalev Lember <kalevlember@gmail.com> on 2012-11-26
Reviewed by Martin Robinson.

Fixes broken build with undefined references to shm_open / shm_unlink
symbols. SharedMemoryUnix.cpp uses these so we need to link with -lrt.

.:

  • configure.ac:

Source/WebKit2:

  • GNUmakefile.am:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r135688 r135761  
     12012-11-26  Kalev Lember  <kalevlember@gmail.com>
     2
     3        [GTK] Explicitly link against librt
     4        https://bugs.webkit.org/show_bug.cgi?id=103194
     5
     6        Reviewed by Martin Robinson.
     7
     8        Fixes broken build with undefined references to shm_open / shm_unlink
     9        symbols. SharedMemoryUnix.cpp uses these so we need to link with -lrt.
     10
     11        * configure.ac:
     12
    1132012-11-26  Laszlo Gombos  <l.gombos@samsung.com>
    214
  • trunk/Source/WebKit2/ChangeLog

    r135752 r135761  
     12012-11-26  Kalev Lember  <kalevlember@gmail.com>
     2
     3        [GTK] Explicitly link against librt
     4        https://bugs.webkit.org/show_bug.cgi?id=103194
     5
     6        Reviewed by Martin Robinson.
     7
     8        Fixes broken build with undefined references to shm_open / shm_unlink
     9        symbols. SharedMemoryUnix.cpp uses these so we need to link with -lrt.
     10
     11        * GNUmakefile.am:
     12
    1132012-11-26  Christophe Dumez  <christophe.dumez@intel.com>
    214
  • trunk/Source/WebKit2/GNUmakefile.am

    r135538 r135761  
    567567        $(PNG_LIBS) \
    568568        $(SHLWAPI_LIBS) \
     569        $(SHM_LIBS) \
    569570        $(SQLITE3_LIBS) \
    570571        $(UNICODE_LIBS) \
  • trunk/configure.ac

    r135632 r135761  
    11191119       AC_DEFINE([HAVE_GTK_UNIX_PRINTING], [1], [Define if GTK+ UNIX Printing is available])
    11201120   fi
     1121
     1122   # On some Linux/Unix platforms, shm_* may only be available if linking
     1123   # against librt
     1124   if test "$os_win32" = "no"; then
     1125       AC_SEARCH_LIBS([shm_open], [rt], [SHM_LIBS="-lrt"])
     1126       AC_SUBST(SHM_LIBS)
     1127   fi
    11211128fi
    11221129
Note: See TracChangeset for help on using the changeset viewer.