Skip to main content
GameDev.net gamedev.net
🔒 Locked

merge two import libraries?

Started by RobTheBloke Jan 12, 2010 at 11:52 AM 1 replies 1.1k views
Original Post
RobTheBloke
RobTheBloke
Lets say I've got Foo.dll and Bar.dll. Those have the import libs Foo.lib and Bar.lib. Is there a tool that will let me merge those two libs together into a single FooBar.lib that will pull in both of those DLL's? (this is with Visual C++) Just about every other compiler/platform combination has an equivalent tool (ar for example), so I'm surprised that my search for a VC++ equivalent has been so fruitless :( I know it's not the end of the world (I can always link to two libs!), only needed for purely aesthetic reasons! Any help greatly appreciated!
adeyblue
adeyblue
It's in the VS equivalent of ar, the lib tool
lib /out:combined.lib input1.lib input2.lib ... inputN.lib
RobTheBloke
RobTheBloke
thanks! (actually found that out almost immediately after posting last night.... )

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.