[libgd] build: Fix linking on x86-64
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd] build: Fix linking on x86-64
- Date: Thu, 13 Dec 2012 13:10:37 +0000 (UTC)
commit fc725807f57063fce6b65bb9642ed7d5ad292f3a
Author: Bastien Nocera <hadess hadess net>
Date: Thu Dec 13 14:07:16 2012 +0100
build: Fix linking on x86-64
Using -static will compile without -fPIC, which will mean
an unlinkable shared object. Let libtool handle that for us instead.
Makefile.am | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 0c922a1..b44e8d1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,10 +24,6 @@ libgd_la_LDFLAGS = -avoid-version
libgd_la_SOURCES = libgd/gd.h
nodist_libgd_la_SOURCES =
-if LIBGD_STATIC
-libgd_la_LDFLAGS += -static
-endif
-
if LIBGD_GTK_HACKS
gtk_hacks_sources = \
libgd/gd-entry-focus-hack.c \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]