zoukankan      html  css  js  c++  java
  • pkgconfig

    # tree hiredis/

    hiredis/
    └── usr
    └── local
    ├── include
    │   └── hiredis
    │   ├── adapters
    │   │   ├── ae.h
    │   │   ├── glib.h
    │   │   ├── ivykis.h
    │   │   ├── libevent.h
    │   │   ├── libev.h
    │   │   ├── libuv.h
    │   │   ├── macosx.h
    │   │   └── qt.h
    │   ├── async.h
    │   ├── hiredis.h
    │   ├── read.h
    │   └── sds.h
    └── lib
    ├── libhiredis.a
    ├── libhiredis.so.0.14
    └── pkgconfig└── hiredis.pc

    when cross-compile hiredis package, we can find the pkgconfig dir 

    under pkgconfig dir,  we can get hiredis.pc content :

    cat hiredis/usr/local/lib/pkgconfig/hiredis.pc
    prefix=/home/vmuer/work/git/hiredis/usr/local
    exec_prefix=${prefix}
    libdir=/home/vmuer/work/git/hiredis/usr/local/lib
    includedir=/home/vmuer/work/git/hiredis/usr/local/include/hiredis

    Name: hiredis
    Description: Minimalistic C client library for Redis.
    Version: 0.14.0
    Libs: -L${libdir} -lhiredis
    Cflags: -I${includedir} -D_FILE_OFFSET_BITS=64

  • 相关阅读:
    wxPython
    IT从业者职业规划
    成功开发iPhone软件的10个步骤
    开源认识:Jumony
    一个GG/MM的彩色验证码图片(C#)
    IT从业者学习规划
    为某一个对象动态添加属性
    .net 动态加载css与js
    文本框等css
    博客园配合得很好的代码插件
  • 原文地址:https://www.cnblogs.com/lianghong881018/p/11678439.html
Copyright © 2011-2022 走看看