Search
j0ke.net Open Build Service
>
Projects
>
virtualization
:
Cloud
:
OpenNebula
>
xmlrpc-c
> xmlrpc-c-fix_without_as_needed.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File xmlrpc-c-fix_without_as_needed.patch of Package xmlrpc-c
--- examples/cpp/Makefile.orig 2009-09-28 09:14:02.000000000 +0200 +++ examples/cpp/Makefile 2009-09-28 09:14:52.000000000 +0200 @@ -15,7 +15,7 @@ include $(BUILDDIR)/Makefile.config CXXFLAGS = $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) -LDFLAGS = $(LADD) +LDFLAGS = $(LADD) -lcurl # If this were a real application, working from an installed copy of # Xmlrpc-c, XMLRPC_C_CONFIG would just be 'xmlrpc-c-config'. It would be @@ -63,13 +63,13 @@ all: $(PROGS) $(SERVERPROGS_ABYSS):%:%.o - $(CXXLD) -o $@ $(LDFLAGS) $^ $(LDADD_SERVER_ABYSS) + $(CXXLD) -o $@ $^ $(LDADD_SERVER_ABYSS) $(LDFLAGS) $(LEGACY_CLIENTPROGS):%:%.o - $(CXXLD) -o $@ $(LDFLAGS) $^ $(LDADD_LEGACY_CLIENT) + $(CXXLD) -o $@ $^ $(LDADD_LEGACY_CLIENT) $(LDFLAGS) $(CLIENTPROGS):%:%.o - $(CXXLD) -o $@ $(LDFLAGS) $^ $(LDADD_CLIENT) + $(CXXLD) -o $@ $^ $(LDADD_CLIENT) $(LDFLAGS) %.o:%.cpp $(CXX) -c $(INCLUDES) $(CXXFLAGS) $< --- examples/Makefile.orig 2009-09-28 07:36:45.000000000 +0200 +++ examples/Makefile 2009-09-28 09:11:28.000000000 +0200 @@ -15,7 +15,7 @@ include $(BUILDDIR)/Makefile.config CFLAGS = $(CFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD) -LDFLAGS = $(LADD) +LDFLAGS = $(LADD) -lcurl # If this were a real application, working from an installed copy of # Xmlrpc-c, XMLRPC_C_CONFIG would just be 'xmlrpc-c-config'. It would be @@ -81,16 +81,16 @@ $(MAKE) -C $(dir $@) $(notdir $@) $(CLIENTPROGS):%:%.o - $(CCLD) -o $@ $(LDFLAGS) $^ $(LDADD_CLIENT) + $(CCLD) -o $@ $^ $(LDADD_CLIENT) $(LDFLAGS) $(SERVERPROGS_CGI):%.cgi:%_cgi.o - $(CCLD) -o $@ $(LDFLAGS) $^ $(LDADD_SERVER_CGI) + $(CCLD) -o $@ $^ $(LDADD_SERVER_CGI) $(LDFLAGS) $(SERVERPROGS_ABYSS):%:%.o - $(CCLD) -o $@ $(LDFLAGS) $^ $(LDADD_SERVER_ABYSS) + $(CCLD) -o $@ $^ $(LDADD_SERVER_ABYSS) $(LDFLAGS) gen_sample_add_xml:%:%.o - $(CCLD) -o $@ $(LDFLAGS) $^ $(LDADD_BASE) + $(CCLD) -o $@ $^ $(LDADD_BASE) $(LDFLAGS) %.o:%.c $(CC) -c $(INCLUDES) $(CFLAGS) $<