Skip to content

Commit 0cf7a14

Browse files
authored
fix: compilation failure on the OpenHarmony platform (#301)
1 parent 8224dee commit 0cf7a14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pylib/gyp/generator/make.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1880,7 +1880,7 @@ def WriteTarget(
18801880
self.flavor not in ("mac", "openbsd", "netbsd", "win")
18811881
and not self.is_standalone_static_library
18821882
):
1883-
if self.flavor in ("linux", "android"):
1883+
if self.flavor in ("linux", "android", "openharmony"):
18841884
self.WriteMakeRule(
18851885
[self.output_binary],
18861886
link_deps,
@@ -1894,7 +1894,7 @@ def WriteTarget(
18941894
part_of_all,
18951895
postbuilds=postbuilds,
18961896
)
1897-
elif self.flavor in ("linux", "android"):
1897+
elif self.flavor in ("linux", "android", "openharmony"):
18981898
self.WriteMakeRule(
18991899
[self.output_binary],
19001900
link_deps,

0 commit comments

Comments
 (0)