Changeset 1485 for trunk/build


Ignore:
Timestamp:
Jun 17, 2012, 12:09:06 AM (8 years ago)
Author:
sam
Message:

build: MinGW compilation fixes, rename libcaca.lib to caca.lib so that
g++ understands -lcaca directly; also add -DCACA_STATIC to the default flags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build/lol-build

    r1464 r1485  
    3333__init__()
    3434{
    35     top_srcdir=$(dirname "$0")/..
    36     cd $top_srcdir
     35    top_srcdir="$(dirname "$0")/.."
     36    cd "$top_srcdir"
    3737    top_srcdir="`pwd`"
    3838
     
    4747bootstrap()
    4848{
    49     cd $top_srcdir
     49    cd "$top_srcdir"
    5050    case "$platform" in
    5151        ios-arm)
     
    6363configure()
    6464{
    65     cd $top_srcdir
     65    cd "$top_srcdir"
    6666    case "$platform" in
    6767        windows-i386)
     
    153153            GTK_LIBS="$GTK_LIBS -lglib-2.0 -lgthread-2.0 -lgobject-2.0"
    154154
    155             CPPFLAGS="$CPPFLAGS -L$PWD/contrib/libcaca-0.99.beta18/include"
     155            CPPFLAGS="$CPPFLAGS -L$PWD/contrib/libcaca-0.99.beta18/include -DCACA_STATIC"
    156156
    157157            PATH="$PATH" PKG_CONFIG_PATH="$PKG_CONFIG_PATH" ./configure $HOSTFLAGS $BUILDFLAGS CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" GTK_LIBS="$GTK_LIBS"
     
    165165build()
    166166{
    167     cd $top_srcdir
     167    cd "$top_srcdir"
    168168    case "$platform" in
    169169        ios-arm)
     
    184184check()
    185185{
    186     cd $top_srcdir
     186    cd "$top_srcdir"
    187187    case "$platform" in
    188188        ios-arm)
     
    215215clean()
    216216{
    217     cd $top_srcdir
     217    cd "$top_srcdir"
    218218    case "$platform" in
    219219        ios-arm)
Note: See TracChangeset for help on using the changeset viewer.