Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
paparika
V2EX  ›  Linux

把静态库编进动态库, Makefile.am 怎么写

  •  
  •   paparika · Jun 29, 2018 · 2216 views
    This topic created in 2920 days ago, the information mentioned may be changed or developed.

    我尝试编了下,感觉不对,编出的动态库大小比静态库还小,如果正常的话应该大才对吧,求助

    1 replies    2018-06-29 11:26:33 +08:00
    paparika
        1
    paparika  
    OP
       Jun 29, 2018
    我是直接把 libstaticlib.a 放在目录下,然后 LDFLAGS+=lstaticlib,看来不行
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2961 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:17 · PVG 15:17 · LAX 00:17 · JFK 03:17
    ♥ Do have faith in what you're doing.