diff --git a/m4/nc_boost_filesystem.m4 b/m4/nc_boost_filesystem.m4 index f40c5691..29f08522 100644 --- a/m4/nc_boost_filesystem.m4 +++ b/m4/nc_boost_filesystem.m4 @@ -21,7 +21,7 @@ AC_DEFUN([NC_BOOST_FILESYSTEM], [ ) BOOST_FILESYSTEM_CPPFLAGS=$CFLAGS - BOOST_FILESYSTEM_LDFLAGS=$LIBS + BOOST_FILESYSTEM_LDFLAGS=-l$lib CFLAGS=$nc_save_cflags LIBS=$nc_save_libs diff --git a/m4/nc_boost_system.m4 b/m4/nc_boost_system.m4 index 2750f235..d1cc4d17 100644 --- a/m4/nc_boost_system.m4 +++ b/m4/nc_boost_system.m4 @@ -20,7 +20,7 @@ AC_DEFUN([NC_BOOST_SYSTEM], [ ) BOOST_SYSTEM_CPPFLAGS=$CFLAGS - BOOST_SYSTEM_LDFLAGS=$LIBS + BOOST_SYSTEM_LDFLAGS=-l$lib CFLAGS=$nc_save_cflags LIBS=$nc_save_libs diff --git a/m4/nc_boost_thread.m4 b/m4/nc_boost_thread.m4 index db4e9d79..2c6e2fd0 100644 --- a/m4/nc_boost_thread.m4 +++ b/m4/nc_boost_thread.m4 @@ -32,7 +32,7 @@ AC_DEFUN([NC_BOOST_THREAD], [ ) BOOST_THREAD_CPPFLAGS=$CFLAGS - BOOST_THREAD_LDFLAGS=$LIBS + BOOST_THREAD_LDFLAGS=-l$lib CFLAGS=$nc_save_cflags LIBS=$nc_save_libs