]> git.pld-linux.org Git - packages/megacmd.git/blob - libtool.patch
7174155c5a4e3e6b800146fd66c395de45c12b1a
[packages/megacmd.git] / libtool.patch
1 --- MEGAcmd-0.9.8/sdk/configure.ac~     2018-03-17 22:07:36.000000000 +0200
2 +++ MEGAcmd-0.9.8/sdk/configure.ac      2018-03-17 22:08:09.737558496 +0200
3 @@ -154,7 +154,8 @@
4  WIN32=no
5  DARWIN=no
6  ANDROID=no
7 -AC_MSG_CHECKING([if building for Win32 platform])
8 +LINUX=no
9 +AC_MSG_CHECKING([platform options])
10  case $host in
11    *-*-cygwin*)
12      LIBS_EXTRA="-luser32 -lkernel32"
13 @@ -201,7 +201,10 @@
14      ;;
15    *-android*)
16      ANDROID=yes
17 -    ;;    
18 +    ;;
19 +  *-linux*)
20 +    LINUX=yes
21 +    ;;
22    *)
23      LIBS_EXTRA=""
24      ;;
25 @@ -210,6 +213,7 @@
26  AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"])
27  AM_CONDITIONAL([DARWIN], [test "${DARWIN}" = "yes"])
28  AM_CONDITIONAL([ANDROID], [test "${ANDROID}" = "yes"])
29 +AM_CONDITIONAL([LINUX], [test "${LINUX}" = "yes"])
30  
31  AC_SUBST(LIBS_EXTRA)
32  
33 --- MEGAcmd-0.9.8/sdk/Makefile.am~      2018-03-17 21:18:50.000000000 +0200
34 +++ MEGAcmd-0.9.8/sdk/Makefile.am       2018-03-17 21:18:53.815527745 +0200
35 @@ -42,6 +42,10 @@
36  AM_LIBTOOLFLAGS="--tag=CXX"
37  endif
38  
39 +if LINUX
40 +AM_LIBTOOLFLAGS="--tag=CXX"
41 +endif
42 +
43  VERSION_INFO=$(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
44  
45  CLEANFILES=
This page took 0.063387 seconds and 2 git commands to generate.