build libxmlrpc for php on f8
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 13 Dec 2007 12:32:09 +0000 (12:32 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 13 Dec 2007 12:32:09 +0000 (12:32 +0000)
php/xmlrpc/Makefile

index 40c6887..8353e57 100644 (file)
@@ -15,6 +15,12 @@ CFLAGS += $(shell xml2-config --cflags)
 LDFLAGS := -shared --export-dynamic
 LIBS := -lexpat
 
+# for building on fedora 8
+ifneq "$(shell ld --help | grep build-id)" ""
+#not needed# CFLAGS += -Wl,--build-id
+LD += --build-id
+endif
+
 all: xmlrpc.so
 
 xmlrpc.so: xmlrpc-epi-php.o $(patsubst %.c, %.o, $(wildcard libxmlrpc/*.c))