--- a/Makefile.flags.in
+++ b/Makefile.flags.in
@@ -198,6 +198,7 @@
 ZLIB_LIBS	 = @ZLIB_LIBS@
 
 BOOST_LIBS 	 = @BOOST_LDFLAGS@
+BOOSTPROGRAMOPTIONS_LIBS = @BOOST_PROGRAM_OPTIONS_LIB@
 
 # PDFedit specific libs
 CPPUNIT_LIBS	 = @CPPUNIT_LIBS@