/ohos5.0/build/config/gcc/ |
H A D | BUILD.gn | 12 # 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 D | c-cpp-overview.md | 44 ### 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 D | BUILD.gn | 35 "-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 D | c-cpp-overview.md | 44 ### 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 D | README_zh.md | 42 2. 为了保证bin目录里面的二进制执行过程中能自动加载lib下的库文件,则需要在编译二进制时增加以下rpath链接选项,指明库文件和二进制的相对位置关系(${ORIGIN}为当前二进制位置)。 46 "-Wl,-rpath=${ORIGIN}/../lib",
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | fbex.cpp | 107 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 D | BUILD.gn | 96 "-Wl,-rpath,@loader_path/.", 100 "-Wl,-rpath,@loader_path/../../..",
|
/ohos5.0/foundation/multimodalinput/input/intention/services/device_manager/src/ |
H A D | device_manager.cpp | 201 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 D | device_manager.cpp | 201 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 D | shader.compile.toolchain.cmake | 44 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 D | BUILD.gn | 21 "-Wl,-rpath=\$ORIGIN/../lib",
|
/ohos5.0/foundation/graphic/graphic_utils_lite/test/ |
H A D | BUILD.gn | 25 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
|
/ohos5.0/drivers/peripheral/usb/sample/device/liteos/ |
H A D | BUILD.gn | 51 "-Wl,-rpath-link=$ohos_root_path/sysroot/usr/lib",
|
/ohos5.0/foundation/multimedia/media_lite/test/ |
H A D | BUILD.gn | 33 ldflags += [ "-Wl,-rpath-link=$ohos_root_path/$root_out_dir" ]
|
/ohos5.0/drivers/peripheral/usb/sample/host/liteos_test/ |
H A D | BUILD.gn | 46 "-Wl,-rpath-link=$ohos_root_path/sysroot/usr/lib",
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/utils/ |
H A D | file_utils.cpp | 379 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 D | BUILD.gn | 29 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/utils/ |
H A D | BUILD.gn | 27 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
|
/ohos5.0/foundation/multimedia/media_lite/test/unittest/ |
H A D | BUILD.gn | 31 ldflags += [ "-Wl,-rpath-link=$ohos_root_path/$root_out_dir" ]
|
/ohos5.0/foundation/multimedia/camera_lite/services/ |
H A D | BUILD.gn | 34 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
|
/ohos5.0/build/config/compiler/lite/gcc/ |
H A D | BUILD.gn | 91 "-Wl,-rpath-link=.",
|
/ohos5.0/foundation/window/window_manager_lite/ |
H A D | BUILD.gn | 91 "-Wl,-rpath-link=$ohos_root_path/$root_out_dir",
|
/ohos5.0/build/config/compiler/lite/clang/ |
H A D | BUILD.gn | 104 "-Wl,-rpath-link=.",
|
/ohos5.0/build/lite/config/ |
H A D | BUILD.gn | 161 "-Wl,-rpath-link=.",
|
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | BUILD.gn | 83 "-Wl,-rpath=/vendor/lib64/hw",
|