Mercurial > pidgin
annotate finch/gntdebug.h @ 24389:2b62300d2c19
Use libtool to build static archives when --with-static-prpls is passed
to configure. Does anyone know why we weren't using libtool before? We
were building old-fashioned .a files. But libtool archives (.la) can
contain either static or shared libraries.
I found it a lot easier to get static prpl compilation working after
making this change (that is to say, it worked). Without this I got this
error, which is probably fixable, but consistently using libtool seems
like it makes things easier:
*** Warning: Linking the shared library libpurple.la against the
*** static library ../libpurple/protocols/msn/libmsn.a is not portable!
/usr/bin/ld: ../libpurple/protocols/msn/libmsn.a(libmsn_a-msn.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
../libpurple/protocols/msn/libmsn.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Wed, 12 Nov 2008 11:30:51 +0000 |
| parents | 6bf32c9e15a7 |
| children |
| rev | line source |
|---|---|
| 15817 | 1 /** |
| 2 * @file gntdebug.h GNT Debug API | |
|
16194
0f0832c13fcb
Rename the Doxygen group from gntui to finch and define the finch group
Richard Laager <rlaager@wiktel.com>
parents:
15870
diff
changeset
|
3 * @ingroup finch |
|
20074
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19681
diff
changeset
|
4 */ |
|
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19681
diff
changeset
|
5 |
|
6bf32c9e15a7
remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents:
19681
diff
changeset
|
6 /* finch |
| 15817 | 7 * |
|
15870
66dff3dfdea6
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@wiktel.com>
parents:
15822
diff
changeset
|
8 * Finch is the legal property of its developers, whose names are too numerous |
| 15817 | 9 * to list here. Please refer to the COPYRIGHT file distributed with this |
| 10 * source distribution. | |
| 11 * | |
| 12 * This program is free software; you can redistribute it and/or modify | |
| 13 * it under the terms of the GNU General Public License as published by | |
| 14 * the Free Software Foundation; either version 2 of the License, or | |
| 15 * (at your option) any later version. | |
| 16 * | |
| 17 * This program is distributed in the hope that it will be useful, | |
| 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 20 * GNU General Public License for more details. | |
| 21 * | |
| 22 * You should have received a copy of the GNU General Public License | |
| 23 * along with this program; if not, write to the Free Software | |
|
19681
44b4e8bd759b
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
16194
diff
changeset
|
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 15817 | 25 */ |
| 26 #ifndef _GNT_DEBUG_H | |
| 27 #define _GNT_DEBUG_H | |
| 28 | |
| 29 #include "debug.h" | |
| 30 | |
| 31 /********************************************************************** | |
| 32 * @name GNT Debug API | |
| 33 **********************************************************************/ | |
| 34 /*@{*/ | |
| 35 | |
| 36 /** | |
| 37 * Get the ui-functions. | |
| 38 * | |
| 15822 | 39 * @return The PurpleDebugUiOps structure populated with the appropriate functions. |
| 15817 | 40 */ |
| 15822 | 41 PurpleDebugUiOps *finch_debug_get_ui_ops(void); |
| 15817 | 42 |
| 43 /** | |
| 44 * Perform necessary initializations. | |
| 45 */ | |
| 46 void finch_debug_init(void); | |
| 47 | |
| 48 /** | |
| 49 * Perform necessary uninitializations. | |
| 50 */ | |
| 51 void finch_debug_uninit(void); | |
| 52 | |
| 53 /** | |
| 54 * Show the debug window. | |
| 55 */ | |
| 56 void finch_debug_window_show(void); | |
| 57 | |
| 58 /*@}*/ | |
| 59 | |
| 60 #endif |
