Link osrf_json_gateway to objson and opensrf libraries the autotools way
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 1 Jul 2008 01:15:09 +0000 (01:15 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 1 Jul 2008 01:15:09 +0000 (01:15 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1353 9efc2488-bf62-4759-914b-345cdb29e865

src/gateway/Makefile.am

index 0fdccea..93c6d7d 100644 (file)
 
 AM_LDFLAGS = $(DEF_LDFLAGS)
 AM_CFLAGS = $(DEF_CFLAGS) -DASSUME_STATELESS -L../libopensrf/.libs/ 
 
 AM_LDFLAGS = $(DEF_LDFLAGS)
 AM_CFLAGS = $(DEF_CFLAGS) -DASSUME_STATELESS -L../libopensrf/.libs/ 
-LDADD = $(DEF_LDLIBS)
 
 curdir = @abs_top_builddir@/src/gateway/
 
 cur_LTLIBRARIES = libosrf_json_gateway.la
 libosrf_json_gateway_la_SOURCES = apachetools.c apachetools.h osrf_json_gateway.c
 
 curdir = @abs_top_builddir@/src/gateway/
 
 cur_LTLIBRARIES = libosrf_json_gateway.la
 libosrf_json_gateway_la_SOURCES = apachetools.c apachetools.h osrf_json_gateway.c
+libosrf_json_gateway_la_LIBADD = -lobjson -lopensrf
 
 include_HEADERS = apachetools.h
 
 
 include_HEADERS = apachetools.h