link WINE into my application

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
elihusmails
Newbie
Newbie
Posts: 1
Joined: Mon Dec 22, 2008 2:20 pm

link WINE into my application

Post by elihusmails »

Is it possible to link in the WINE libs to my application so that I can just have the single executable?

Thanks
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: link WINE into my application

Post by DanKegel »

elihusmails wrote:Is it possible to link in the WINE libs to my application so that I can just have the single executable?
See http://wiki.winehq.org/DeveloperFaq which says

"Can I build one large Monolithic application?

No. However, if you don't want Wine as a dependency, you can bundle your private version of Wine into your package (.rpm/.deb). Wine has good support for such a setup via the WINEPREFIX environment variable. This is the way Google Picasa works - they actually use the exact same binary on Windows and Linux, but in the Linux version they bundle a tested version of Wine. "
Locked