Skip to content

Commit

Permalink
fix(plugin): load mediapipe_c.dll on Windows properly (#455)
Browse files Browse the repository at this point in the history
* fix(plugin): rename libmediapipe_c.dll -> mediapipe_c.dll

* fix(plugin): move dependent.dlls to the same directory
  • Loading branch information
homuler committed Feb 21, 2022
1 parent 61c9244 commit e237ba7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 19 deletions.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions mediapipe_api/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ cc_binary(
)

cc_binary(
name = "libmediapipe_c.dll",
name = "mediapipe_c.dll",
linkshared = True,
linkstatic = True,
visibility = ["//visibility:public"],
Expand All @@ -87,7 +87,7 @@ alias(
name = "libmediapipe_c",
actual = select({
"@com_google_mediapipe//mediapipe:macos": ":libmediapipe_c.dylib",
"@com_google_mediapipe//mediapipe:windows": ":libmediapipe_c.dll",
"@com_google_mediapipe//mediapipe:windows": ":mediapipe_c.dll",
"@com_google_mediapipe//mediapipe:emscripten": ":libmediapipe_c.bc",
"//conditions:default": ":libmediapipe_c.so",
}),
Expand Down

0 comments on commit e237ba7

Please sign in to comment.