We must link the examples with popt
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sat, 24 Nov 2012 16:26:26 +0000 (08:26 -0800)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sat, 24 Nov 2012 16:26:26 +0000 (08:26 -0800)
examples/Makefile.am

index 314807b5cfa2a486cbc5c661adb7a9179843ea8d..878ac1abb73cb95c8c9ad66eec020b95c6d2ecc2 100644 (file)
@@ -8,7 +8,7 @@ AM_CPPFLAGS = \
        -I../portmap \
        "-D_U_=__attribute__((unused))"
 
-AM_LDFLAGS = ../lib/.libs/libnfs.la
+AM_LDFLAGS = ../lib/.libs/libnfs.la -lpopt
 
 nfsclient_async_SOURCES = nfsclient-async.c