mirror of
https://github.com/openharmony/third_party_libsoup.git
synced 2026-07-01 15:14:10 -04:00
!33 libintl.z.so改名libgettext.z.so,解决system/lib64/module/libintl.z.so库重名问题(libsoup适配)
Merge pull request !33 from 黑眼圈/20220901_libgettext
This commit is contained in:
@@ -133,7 +133,7 @@ ohos_source_set("soup_dynamic") {
|
||||
ohos_shared_library("libohossoup") {
|
||||
deps = [
|
||||
":soup_dynamic",
|
||||
"//third_party/gettext:libintl",
|
||||
"//third_party/gettext:libgettext",
|
||||
"//third_party/glib:gio",
|
||||
"//third_party/glib:glib",
|
||||
"//third_party/glib:gobject",
|
||||
|
||||
@@ -638,7 +638,7 @@ sniff_feed_or_html (SoupContentSniffer *sniffer, SoupBuffer *buffer)
|
||||
goto text_html;
|
||||
|
||||
/* Skip a leading UTF-8 BOM */
|
||||
// x86_64 -Wtautological-constant-out-of-range-compare
|
||||
// ohos.opt.compat.2001 x86_64 -Wtautological-constant-out-of-range-compare
|
||||
#ifdef OHOS_OPT_COMPAT
|
||||
if (resource[0] == (char)0xEF && resource[1] == (char)0xBB && resource[2] == (char)0xBF)
|
||||
pos = 3;
|
||||
|
||||
Reference in New Issue
Block a user