118 | | post-configure { |
119 | | # https://bugs.webkit.org/show_bug.cgi?id=153176 |
120 | | reinplace {s|\.\./\.\./lib/libWTFGTK\.a||} \ |
121 | | ${build.dir}/Source/WebKit2/CMakeFiles/WebKit2.dir/link.txt |
122 | | reinplace {s|\.\./\.\./lib/libbmalloc\.a||} \ |
123 | | ${build.dir}/Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/link.txt |
124 | | reinplace {s|[\./]*\.\./lib/lib[^\.]*\.a||g} \ |
125 | | ${build.dir}/Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/link.txt \ |
126 | | ${build.dir}/Source/JavaScriptCore/shell/CMakeFiles/jsc.dir/link.txt \ |
127 | | ${build.dir}/Source/JavaScriptCore/shell/CMakeFiles/testb3.dir/link.txt \ |
128 | | ${build.dir}/Source/WebKit2/CMakeFiles/DatabaseProcess.dir/link.txt \ |
129 | | ${build.dir}/Source/WebKit2/CMakeFiles/NetworkProcess.dir/link.txt \ |
130 | | ${build.dir}/Source/WebKit2/CMakeFiles/webkit2gtkinjectedbundle.dir/link.txt \ |
131 | | ${build.dir}/Source/WebKit2/CMakeFiles/WebProcess.dir/link.txt |
132 | | if {[variant_isset x11]} { |
133 | | # ENABLE_PLUGIN_PROCESS is only enabled with +x11 |
134 | | reinplace {s|[\./]*\.\./lib/lib[^\.]*\.a||g} \ |
135 | | ${build.dir}/Source/WebKit2/CMakeFiles/PluginProcess.dir/link.txt |
136 | | |
137 | | if {[variant_isset gtk2]} { |
138 | | reinplace {s|\.\./\.\./lib/libWTFGTK\.a||} \ |
139 | | ${build.dir}/Source/WebKit2/CMakeFiles/WebKitPluginProcess2.dir/link.txt |
140 | | reinplace {s|-Wl,-all_load||g} \ |
141 | | ${build.dir}/Source/WebKit2/CMakeFiles/WebKitPluginProcess2.dir/link.txt |
142 | | } |
143 | | } |
144 | | if {[variant_isset minibrowser]} { |
145 | | reinplace {s|[\./]*\.\./lib/lib[^\.]*\.a||g} \ |
146 | | ${build.dir}/Tools/MiniBrowser/gtk/CMakeFiles/MiniBrowser.dir/link.txt |
147 | | } |
148 | | |
149 | | # https://bugs.webkit.org/show_bug.cgi?id=153192 |
150 | | reinplace {s|\.\./\.\./lib/libWTFGTK\.a|-Wl,-all_load ../../lib/libWTFGTK.a|} \ |
151 | | ${build.dir}/Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/link.txt |
152 | | } |
| 123 | # post-configure { |
| 124 | # # https://bugs.webkit.org/show_bug.cgi?id=153176 |
| 125 | # reinplace {s|\.\./\.\./lib/libWTFGTK\.a||} \ |
| 126 | # ${build.dir}/Source/WebKit2/CMakeFiles/WebKit2.dir/link.txt |
| 127 | # reinplace {s|\.\./\.\./lib/libbmalloc\.a||} \ |
| 128 | # ${build.dir}/Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/link.txt |
| 129 | # reinplace {s|[\./]*\.\./lib/lib[^\.]*\.a||g} \ |
| 130 | # ${build.dir}/Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/link.txt \ |
| 131 | # ${build.dir}/Source/JavaScriptCore/shell/CMakeFiles/jsc.dir/link.txt \ |
| 132 | # ${build.dir}/Source/JavaScriptCore/shell/CMakeFiles/testb3.dir/link.txt \ |
| 133 | # ${build.dir}/Source/WebKit2/CMakeFiles/DatabaseProcess.dir/link.txt \ |
| 134 | # ${build.dir}/Source/WebKit2/CMakeFiles/NetworkProcess.dir/link.txt \ |
| 135 | # ${build.dir}/Source/WebKit2/CMakeFiles/webkit2gtkinjectedbundle.dir/link.txt \ |
| 136 | # ${build.dir}/Source/WebKit2/CMakeFiles/WebProcess.dir/link.txt |
| 137 | # if {[variant_isset x11]} { |
| 138 | # # ENABLE_PLUGIN_PROCESS is only enabled with +x11 |
| 139 | # reinplace {s|[\./]*\.\./lib/lib[^\.]*\.a||g} \ |
| 140 | # ${build.dir}/Source/WebKit2/CMakeFiles/PluginProcess.dir/link.txt |
| 141 | # |
| 142 | # if {[variant_isset gtk2]} { |
| 143 | # reinplace {s|\.\./\.\./lib/libWTFGTK\.a||} \ |
| 144 | # ${build.dir}/Source/WebKit2/CMakeFiles/WebKitPluginProcess2.dir/link.txt |
| 145 | # reinplace {s|-Wl,-all_load||g} \ |
| 146 | # ${build.dir}/Source/WebKit2/CMakeFiles/WebKitPluginProcess2.dir/link.txt |
| 147 | # } |
| 148 | # } |
| 149 | # if {[variant_isset minibrowser]} { |
| 150 | # reinplace {s|[\./]*\.\./lib/lib[^\.]*\.a||g} \ |
| 151 | # ${build.dir}/Tools/MiniBrowser/gtk/CMakeFiles/MiniBrowser.dir/link.txt |
| 152 | # } |
| 153 | # |
| 154 | # # https://bugs.webkit.org/show_bug.cgi?id=153192 |
| 155 | # reinplace {s|\.\./\.\./lib/libWTFGTK\.a|-Wl,-all_load ../../lib/libWTFGTK.a|} \ |
| 156 | # ${build.dir}/Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/link.txt |
| 157 | # } |