Skip to content

Commit 5f461cd

Browse files
committed
fix release build on arm
1 parent 8500514 commit 5f461cd

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

brightray/brightray.gyp

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,16 +164,23 @@
164164
],
165165
},
166166
}],
167+
# This lib does not exist on arm.
167168
['target_arch=="arm"', {
168169
'link_settings': {
169-
'libraries': [
170-
'<(libchromiumcontent_dir)/libjpeg.a',
171-
],
172170
'libraries!': [
173171
'<(libchromiumcontent_dir)/libdesktop_capture_differ_sse2.a',
174172
],
175173
},
176174
}],
175+
# Due to strange linker behavior, component build of arm needs to
176+
# be linked with libjpeg.a explicitly.
177+
['target_arch=="arm" and libchromiumcontent_component==1', {
178+
'link_settings': {
179+
'libraries': [
180+
'<(libchromiumcontent_dir)/libjpeg.a',
181+
],
182+
},
183+
}],
177184
],
178185
}], # OS=="linux"
179186
['OS=="mac"', {

0 commit comments

Comments
 (0)