--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -, +, @@ --- Source/WebKit2/GNUmakefile.am +++ Source/WebKit2/GNUmakefile.am @@ -558,6 +558,7 @@ $(PANGO_LIBS) \ $(PNG_LIBS) \ $(SHLWAPI_LIBS) \ + $(SHM_LIBS) \ $(SQLITE3_LIBS) \ $(UNICODE_LIBS) \ $(XRENDER_LIBS) \ --- configure.ac +++ configure.ac @@ -1368,6 +1368,14 @@ if test "$have_gtk_unix_printing" = "yes"; then AC_DEFINE([HAVE_GTK_UNIX_PRINTING], [1], [Define if GTK+ UNIX Printing is available]) fi + + + # On some Linux/Unix platforms, shm_* may only be available if linking + # against librt + if test "$os_win32" = "no"; then + AC_SEARCH_LIBS([shm_open], [rt], [SHM_LIBS="-lrt"]) + AC_SUBST(SHM_LIBS) + fi fi # Plugin Process