tools/xenalyze: append argp LD flags if needed
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 18 Aug 2016 09:10:44 +0000 (11:10 +0200)
committerWei Liu <wei.liu2@citrix.com>
Thu, 18 Aug 2016 16:24:39 +0000 (17:24 +0100)
This is a side-effect of commit c36e1c, which currently prevents compiling
xenalyze with libcs that don't have argp built-in.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xentrace/Makefile

index a85ed33406588c31d612bc29a07f0eaa649af15b..c8c36a8c4e6382967d66aea2aa5de2d6dfdb3960 100644 (file)
@@ -50,7 +50,7 @@ xentrace_setsize: setsize.o
        $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS) $(APPEND_LDFLAGS)
 
 xenalyze: xenalyze.o mread.o
-       $(CC) $(LDFLAGS) -o $@ $^ $(APPEND_LDFLAGS)
+       $(CC) $(LDFLAGS) -o $@ $^ $(ARGP_LDFLAGS) $(APPEND_LDFLAGS)
 
 -include $(DEPS)