Changeset 54b2a36 for configure


Ignore:
Timestamp:
2017-05-13T20:38:35Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
e199620
Parents:
eb73d05
Message:

cygwin: Export a "libbitlbee.dll.a" to allow plugins to link to it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    reb73d05 r54b2a36  
    1515datadir='$prefix/share/bitlbee/'
    1616config='/var/lib/bitlbee/'
     17libdir='$prefix/lib/'
    1718plugindir='$prefix/lib/bitlbee/'
    1819includedir='$prefix/include/bitlbee/'
     
    173174datadir=$(eval echo "$datadir/" | sed 's/\/\{1,\}/\//g')
    174175config=$(eval echo "$config/" | sed 's/\/\{1,\}/\//g')
     176libdir=$(eval echo "$libdir/" | sed 's/\/\{1,\}/\//g')
    175177plugindir=$(eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g')
    176178includedir=$(eval echo "$includedir"/ | sed 's/\/\{1,\}/\//g')
     
    196198PLUGINDIR=$plugindir
    197199CONFIG=$config
     200LIBDIR=$libdir
    198201INCLUDEDIR=$includedir
    199202PCDIR=$pcdir
     
    800803fi
    801804
     805pkgconfiglibs=''
     806case "$arch" in
     807CYGWIN* )
     808        pkgconfiglibs='-L${libdir} -lbitlbee'
     809esac
     810
    802811cat <<EOF >bitlbee.pc
    803812prefix=$prefix
    804813includedir=$includedir
    805814plugindir=$plugindir
     815libdir=$libdir
    806816
    807817Name: bitlbee
     
    809819Requires: glib-2.0
    810820Version: $BITLBEE_VERSION
    811 Libs:
     821Libs: $pkgconfiglibs
    812822Cflags: -I\${includedir}
    813823
     
    919929;;
    920930CYGWIN* )
     931        echo 'EFLAGS+=-Wl,--export-all,--out-implib,libbitlbee.dll.a' >> Makefile.settings
     932        echo 'IMPLIB=libbitlbee.dll.a' >> Makefile.settings
    921933;;
    922934Windows )
Note: See TracChangeset for help on using the changeset viewer.