Share via


/LIBPATH   (Additional Libpath)

OverviewHow Do ILinker Options

Syntax

/LIBPATH:dir

Use this linker option to override the environment library path. The linker will first search in the path specified by this option, and then search in the path specified in the LIB environment variable. You can specify only one directory for each /LIBPATH option you enter. If you want to specify more than one directory, you must specify multiple /LIBPATH options. The linker will then search the specified directories in order.

To find this option in the development environment, click Settings on the Project menu. Then click the Link tab, and click Input in the Category box.