annotate gaim.pc.in @ 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 dde5bebd5fb4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9364
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
1 prefix=@prefix@
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
2 exec_prefix=@exec_prefix@
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
3 libdir=@libdir@
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
4 includedir=@includedir@
15598
32f954e8d8aa We're getting warnings about not honoring datarootdir, so I figured I'd add it. I'm not sure what that might break, but this stuff will be getting reviewed when it's renamed anyway.
Richard Laager <rlaager@wiktel.com>
parents: 14191
diff changeset
5 datarootdir=@datarootdir@
9364
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
6 datadir=@datadir@
10947
afc440485a9e [gaim-migrate @ 12745]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9364
diff changeset
7 sysconfdir=@sysconfdir@
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15598
diff changeset
8
16181
dde5bebd5fb4 I think it's a good idea to mention Pidgin here, and that this is a compatibility layer.
Richard Laager <rlaager@wiktel.com>
parents: 15884
diff changeset
9 Name: Pidgin (Gaim compatibility)
dde5bebd5fb4 I think it's a good idea to mention Pidgin here, and that this is a compatibility layer.
Richard Laager <rlaager@wiktel.com>
parents: 15884
diff changeset
10 Description: Pidgin is a GTK2-based instant messenger application.
9364
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
11 Version: @VERSION@
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
12 Requires: glib-2.0
15884
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15598
diff changeset
13 Cflags: -I${includedir}/libpurple
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15598
diff changeset
14 Libs: -L${libdir} -lpurple