Adding note about building universal libraries

svn path=/trunk/netsurf/; revision=11462
This commit is contained in:
Sven Weidauer 2011-01-23 12:12:02 +00:00
parent 4976247df0
commit 3938a08bf9

View File

@ -76,8 +76,20 @@
To build and install these libraries, simply enter each of their directories To build and install these libraries, simply enter each of their directories
and run: and run:
$ make
$ sudo make install $ sudo make install
This command builds the libraries only for the active architecture. To build
universal binaries use those commands:
$ make UNIVERSAL="i386 x86_64 ppc ppc64"
$ sudo make install
If you are building NetSurf for using it on only one computer this is not
necessary, but if you want to distribute your binary you should build universal
binaries. You can also leave some of the platform names out, if you don't
require them.
| Note: We advise enabling ivonv() support in libparserutils, which vastly | Note: We advise enabling ivonv() support in libparserutils, which vastly
| increases the number of supported character sets. To do this, | increases the number of supported character sets. To do this,
| create a file called Makefile.config.override in the libparserutils | create a file called Makefile.config.override in the libparserutils