diff --git a/webkit2gtk3.changes b/webkit2gtk3.changes index 43d7265..70563dd 100644 --- a/webkit2gtk3.changes +++ b/webkit2gtk3.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 8 16:54:04 UTC 2014 - dimstar@opensuse.org + +- Pass -DCMAKE_{EXE,MODULE,SHARED}_LINKER_FLAGS="-Wl,--as-needed + -Wl,-z,now" to cmake call: cmake changed the default to not + accept libraries to have undefined symbols (-Wl,--no-undefined). + In this case though, it is understood and expected, so we remove + --no-undefined from the FLAGS. + ------------------------------------------------------------------- Wed Aug 13 16:47:40 UTC 2014 - dimstar@opensuse.org diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index 32a8e5f..4df9d22 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -216,7 +216,10 @@ mkdir build %cmake \ -DCMAKE_BUILD_TYPE=Release \ -DLIBEXEC_INSTALL_DIR=%{_libexecdir}/libwebkit2gtk%{_wk2sover} \ - -DPORT=GTK + -DPORT=GTK \ + -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \ + -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \ + -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" make %{?_smp_mflags} %install