Skip to content

Commit

Permalink
use LDADD instead of LDFLAGS to fix failure to build with ld --as-needed
Browse files Browse the repository at this point in the history
Change-Id: I213dc9bb435004bd6d0a2dca876392f569115acc
Signed-off-by: Logan Rosen <loganrosen@gmail.com>
  • Loading branch information
loganrosen authored and nirs committed May 8, 2016
1 parent ddc8a3f commit 608a44c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Makefile.am
Expand Up @@ -14,11 +14,10 @@ ioprocess_CFLAGS = $(GLIB2_CFLAGS) \
$(IOPROCESS_CFLAGS) \
$(AM_CFLAGS) \
$(NULL)
ioprocess_LDFLAGS = $(GLIB2_LIBS) \
$(GTHREAD2_LIBS) \
$(YAJL_LIBS) \
$(AM_LDFLAGS) \
$(NULL)
ioprocess_LDADD = $(GLIB2_LIBS) \
$(GTHREAD2_LIBS) \
$(YAJL_LIBS) \
$(NULL)

ioprocess_SOURCES = \
json-dom.c \
Expand Down

0 comments on commit 608a44c

Please sign in to comment.