Re: Problems building Luabind statically

Roberto C. Sánchez <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
On Sun, Mar 29, 2009 at 05:37:01PM -0700, Jason McKesson wrote:
> I don't know what the build command is to build statically. I don't read 
> Jam or whatever bjam uses, so I can't figure it out from the "jamfile."
> 
> The closest thing I've found is "bjam stage", but even that tries to run 
> things like "msvc.link.dll", which shouldn't be used in a static build. 
> It eventually errors out when it tries to find 'lua5.lib'
> 
> Alternatively, I understand someone made a CMake build for luabind. I 
> really prefer that to the near-useless bjam.
> 
I use this line in the debian/rules file for the Debian package:

bjam -d2 release debug link=static cflags="$(CFLAGS)" linkflags="$(LDFLAGS)"

Regards,

-Roberto

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

------------------------------------------------------------------------------

_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknQHT4ACgkQ5SXWIKfIlGSCRwCdFc0pmpbWTd1rsArzHNk/zkSy
aY0An3izAtm9qSHST/sjY94EbI+m7YdI
=oA95
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.