aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJason Woodward2005-04-01 09:22:39 +0000
committerJason Woodward2005-04-01 09:22:39 +0000
commit471631247059f3f422ac560c27c20266d348d284 (patch)
tree86f8c6415b8f7e606b773cc1d6289af42513056d /Makefile
parent4ad3d5a4eccf4a71bbef90e2ab5afac65b0691b3 (diff)
downloadslapt-get-471631247059f3f422ac560c27c20266d348d284.tar.gz
use -fpic for library creation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 56238f8..c71bbef 100644
--- a/Makefile
+++ b/Makefile
@@ -119,6 +119,7 @@ po_file:
-xgettext -d slapt-get -o po/slapt-get.pot -a -C --no-location po/gettext_strings
-rm po/gettext_strings
+libs: CFLAGS += -fpic #change to -fPIC for amd64
libs: $(OBJS)
touch libs
$(CC) -shared -o src/libslapt-$(VERSION).so $(LIBOBJS)