Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    Tina编译库依赖问题

    Linux
    2
    2
    1480
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xiaye LV 5 last edited by

      Tina编译,添加第三方编译好的库的时候,总是提示缺少依赖,比如缺少libz.so,必须把这个库放到第三方库(比如usr/my)同一个文件夹才行,这样导致打包的时候libz.so就重复了(usr/lib和usr/my),如何去掉这个依赖?

      A 1 Reply Last reply Reply Quote Share 0
      • A
        awwwwa LV 8 @xiaye last edited by

        @xiaye

        单个包:

        define Package/程序包名/extra_provides
            echo 'libz.so';
        endef
        

        多个包:

        define Package/程序包名/extra_provides
            echo 'libstdc++.so.6'; \
            echo 'libm.so.6'; \
            echo 'libc.so.6'; \
            echo 'libz.so';
        endef
        
        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策