adding -fpic in makefile

This commit is contained in:
Nikos Kouremenos 2005-04-19 14:41:50 +00:00
parent 08f7c21fe8
commit 2105a5fab8
2 changed files with 2 additions and 4 deletions

4
debian/control vendored
View File

@ -11,6 +11,4 @@ Section: net
Priority: optional
Depends: python (>= 2.3), python-glade2 (>= 2.4.0), python-gtk2 (>= 2.4.0)
Suggests: python-gnupginterface
Description: jabber client in python
Gajim is a Jabber client, like Psi, based on a plugin system.
logger and gtkgui plugins are included.
Description: Gajim is a GTK jabber client written in python.

View File

@ -1,6 +1,6 @@
# Set the C flags to include the GTK+ and Python libraries
PYTHONVER = `python -V 2>&1 | awk '{print $$2}' | cut -f1,2 -d.`
CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python$(PYTHONVER) -I.
CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0 -fpic` -I/usr/include/python$(PYTHONVER) -I.
LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0`
# Build the shared object