Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
前言
原先代码中对于so文件的正则匹配,是如下两种方式
.so结尾的文件.so.加上数字的文件,譬如.so.3遇到的问题
我在自建库中编译 open62541 v1.4.11.1(仓库见:https://github.com/open62541/open62541 )时
发现 open62541 编译后得到的文件名有如下三个
安装 target 工程的时候,没有将写在 package 里的 open62541 项目的动态链接库复制到安装目录下
进行的调试
下面是我对 xmake 加的 print 调试,可以看到最后没有匹配到
libopen62541.so.1,所以没有安装该文件