Skip to content

Commit

Permalink
Use profile ndk_path instead of enviroment
Browse files Browse the repository at this point in the history
  • Loading branch information
LevWi authored Jun 27, 2023
1 parent 559c640 commit c7a05ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/openh264/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def _make_args(self):
libcxx = str(self.settings.compiler.libcxx)
stl_lib = f'$(NDKROOT)/sources/cxx-stl/llvm-libc++/libs/$(APP_ABI)/lib{"c++_static.a" if libcxx == "c++_static" else "c++_shared.so"}' \
+ "$(NDKROOT)/sources/cxx-stl/llvm-libc++/libs/$(APP_ABI)/libc++abi.a"
ndk_home = os.environ["ANDROID_NDK_HOME"]
ndk_home = self.conf.get("tools.android:ndk_path")
args.extend([
f"NDKLEVEL={self.settings.os.api_level}",
f"STL_LIB={stl_lib}",
Expand Down

0 comments on commit c7a05ef

Please sign in to comment.