From 1a5542af587cf2131a519652f27a3acebfaa6225 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 25 Nov 2014 22:35:47 +0000 Subject: [PATCH] Linux: Fix command line for GNU linker (issue #1430). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1933 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- macros.cmake.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/macros.cmake.in b/macros.cmake.in index 13d38ec51..8e832c3c9 100644 --- a/macros.cmake.in +++ b/macros.cmake.in @@ -103,8 +103,9 @@ macro(FIND_LINUX_LIBRARIES libraries) # Update the variables. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${FLL_CFLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${FLL_CFLAGS}") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${FLL_LDFLAGS} ${FLL_LIBS}") - set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${FLL_LDFLAGS} ${FLL_LIBS}") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${FLL_LDFLAGS}") + set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${FLL_LDFLAGS}") + set(CEF_STANDARD_LIBS "${CEF_STANDARD_LIBS} ${FLL_LIBS}") endmacro() # Set SUID permissions on the specified executable.