remove PLC.Debug.log, use PLC.Logger.logger instead
[plcapi.git] / php / xmlrpc / Makefile
index 40c6887..e122329 100644 (file)
@@ -4,8 +4,6 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id$
-#
 
 CC := gcc
 CFLAGS := -g -O2 -I. -Ilibxmlrpc -fPIC
@@ -15,6 +13,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))