~ubuntu-branches/ubuntu/precise/nis/precise

« back to all changes in this revision

Viewing changes to ypbind-mt-1.20.1/src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Moog
  • Date: 2011-06-25 14:34:36 UTC
  • Revision ID: james.westby@ubuntu.com-20110625143436-6ky24zpjg3nfg8gu
Tags: 3.17-32ubuntu1
ypbind-mt-1.20.1/src/Makefile.am/in: (LP: #771034)
put libraries in ypbind_LDADD instead of AM_LDFLAGS to fix FTBFS
with ld --as-needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
AM_CFLAGS = -D_REENTRANT=1 @WARNFLAGS@ -DUSE_BROADCAST=@USE_BROADCAST@ \
10
10
        -DLOCALEDIR=\"$(localedir)\" @DBUS_CFLAGS@ @GLIB_CFLAGS@
11
 
AM_LDFLAGS = ../lib/libcompat.a @LIBINTL@ @SLP_LIBS@ @DBUS_LIBS@ @GLIB_LIBS@
12
11
 
13
12
CLEANFILES = *~
14
13
 
19
18
ypbind_SOURCES = ypbind-mt.c ypbind_xdr.c ypbind_svc.c \
20
19
                 ypbind_server.c log_msg.c serv_list.c \
21
20
                 pthread_np.c ypbind_slp.c ypbind_dbus_nm.c
 
21
 
 
22
ypbind_LDADD = ../lib/libcompat.a @LIBINTL@ @SLP_LIBS@ @DBUS_LIBS@ @GLIB_LIBS@