Home
last modified time | relevance | path

Searched refs:rpath (Results 1 – 25 of 44) sorted by relevance

12

/ohos5.0/build/config/gcc/
H A DBUILD.gn12 # When non empty, overrides the target rpath value. This allows a user to
54 # The rpath is the dynamic library search path. Setting this config on a link
56 # the rpath.
71 # Note: ohos doesn't support rpath.
76 "-Wl,-rpath=\$ORIGIN/${rpath_link}",
77 "-Wl,-rpath-link=${rpath_link}",
81 "-Wl,-rpath=${gcc_target_rpath}",
82 "-Wl,-rpath-link=${rpath_link}",
122 "-Wl,-rpath-link=$_rpath_link",
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Dc-cpp-overview.md44 ### rpath机制
45 rpath(run-time path)是在运行时指定共享库搜索路径的机制。该机制允许在可执行文件或共享库中嵌入一个用于在运行时指定库的搜索路径的信息。
47 …native库,当应用程序涉及加载较多的native库,期望创建多个native库加载路径方便管理,但是会导致无法加载新创建目录下的native库,这种情况可以通过rpath机制编译时指定搜索路径。
49 …m64/module`下的`libworld.so`,那么在应用的`CMakeList.txt`里设置上`rpath`编译选项后编译,使用`readelf`查看`libhello.so`的`rpa…
/ohos5.0/foundation/window/window_manager_lite/test/
H A DBUILD.gn35 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
56 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
81 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
/ohos5.0/docs/en/application-dev/napi/
H A Dc-cpp-overview.md44 ### rpath subsection
45 Run-time path (rpath) is a mechanism for specifying the runtime search path of a shared library. Th…
47 …e newly created directory cannot be loaded. In this case, you can use the rpath mechanism to speci…
49 …4/module**. Set **rpath** in the **CMakeList.txt** file of the application and compile the file, a…
/ohos5.0/base/startup/appspawn/service/hnp/pack/
H A DREADME_zh.md42 2. 为了保证bin目录里面的二进制执行过程中能自动加载lib下的库文件,则需要在编译二进制时增加以下rpath链接选项,指明库文件和二进制的相对位置关系(${ORIGIN}为当前二进制位置)。
46 "-Wl,-rpath=${ORIGIN}/../lib",
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfbex.cpp107 std::string rpath(PATH_MAX + 1, '\0'); in IsFBEXSupported() local
109 if ((path.length() > PATH_MAX) || (realpath(path.c_str(), rpath.data()) == nullptr)) { in IsFBEXSupported()
113 if (rpath.rfind(FBEX_UFS_INLINE_SUPPORT_PREFIX) != 0) { in IsFBEXSupported()
114 LOGE("rpath %{public}s is invalid", rpath.c_str()); in IsFBEXSupported()
119 if (!OHOS::LoadStringFromFile(rpath, versionNum)) { in IsFBEXSupported()
/ohos5.0/build/config/mac/
H A DBUILD.gn96 "-Wl,-rpath,@loader_path/.",
100 "-Wl,-rpath,@loader_path/../../..",
/ohos5.0/foundation/multimodalinput/input/intention/services/device_manager/src/
H A Ddevice_manager.cpp201 char rpath[PATH_MAX]; in AddDevice() local
202 if (realpath(lSysPath.c_str(), rpath) == nullptr) { in AddDevice()
209 dev->SetSysPath(std::string(rpath)); in AddDevice()
/ohos5.0/base/msdp/device_status/intention/services/device_manager/src/
H A Ddevice_manager.cpp201 char rpath[PATH_MAX]; in AddDevice() local
202 if (realpath(lSysPath.c_str(), rpath) == nullptr) { in AddDevice()
209 dev->SetSysPath(std::string(rpath)); in AddDevice()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/
H A Dshader.compile.toolchain.cmake44 set(STD_LINKER_FLAGS "-L ${OHOS_NDK}/lib/x86_64-unknown-linux-gnu -Wl,-rpath,${OHOS_NDK}/lib/x86_64…
/ohos5.0/base/startup/appspawn/test/moduletest/hnp_sample/
H A DBUILD.gn21 "-Wl,-rpath=\$ORIGIN/../lib",
/ohos5.0/foundation/graphic/graphic_utils_lite/test/
H A DBUILD.gn25 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
/ohos5.0/drivers/peripheral/usb/sample/device/liteos/
H A DBUILD.gn51 "-Wl,-rpath-link=$ohos_root_path/sysroot/usr/lib",
/ohos5.0/foundation/multimedia/media_lite/test/
H A DBUILD.gn33 ldflags += [ "-Wl,-rpath-link=$ohos_root_path/$root_out_dir" ]
/ohos5.0/drivers/peripheral/usb/sample/host/liteos_test/
H A DBUILD.gn46 "-Wl,-rpath-link=$ohos_root_path/sysroot/usr/lib",
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dfile_utils.cpp379 std::string rpath(PATH_MAX + 1, '\0'); in ReadFile() local
380 if ((path.length() > PATH_MAX) || (realpath(path.c_str(), rpath.data()) == nullptr)) { in ReadFile()
385 infile.open(rpath.c_str()); in ReadFile()
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/sequence_verification/
H A DBUILD.gn29 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/utils/
H A DBUILD.gn27 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
/ohos5.0/foundation/multimedia/media_lite/test/unittest/
H A DBUILD.gn31 ldflags += [ "-Wl,-rpath-link=$ohos_root_path/$root_out_dir" ]
/ohos5.0/foundation/multimedia/camera_lite/services/
H A DBUILD.gn34 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
/ohos5.0/build/config/compiler/lite/gcc/
H A DBUILD.gn91 "-Wl,-rpath-link=.",
/ohos5.0/foundation/window/window_manager_lite/
H A DBUILD.gn91 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
/ohos5.0/build/config/compiler/lite/clang/
H A DBUILD.gn104 "-Wl,-rpath-link=.",
/ohos5.0/build/lite/config/
H A DBUILD.gn161 "-Wl,-rpath-link=.",
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A DBUILD.gn83 "-Wl,-rpath=/vendor/lib64/hw",

12