Moz builds with non-standard Xorg location

Dan Nicholson dbn.lists at gmail.com
Tue Jun 12 09:16:59 PDT 2007


On 6/12/07, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:
>
> OK, for seamonkey 1.1.1, I have:
>
>  c++ -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion
> -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
> -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic
> -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O -fPIC -shared
> -Wl,-z,defs -Wl,-h,libgklayout.so -o libgklayout.so  nsLayoutModule.o
> nsContentHTTPStartup.o nsContentDLF.o nsLayoutStatics.o
> -Wl,--whole-archive ../../dist/lib/libgkbase_s.a
> ../../dist/lib/libgkgeneric_s.a ../../dist/lib/libgkforms_s.a
> ../../dist/lib/libgkstyle_s.a ../../dist/lib/libgkprinting_s.a
> ../../dist/lib/libgktable_s.a ../../dist/lib/libgkxulbase_s.a
> ../../dist/lib/libgkconbase_s.a ../../dist/lib/libgkconcvs_s.a
> ../../dist/lib/libgkconevents_s.a ../../dist/lib/libgkconhtmlcon_s.a
> ../../dist/lib/libgkconhtmldoc_s.a ../../dist/lib/libgkconxmlcon_s.a
> ../../dist/lib/libgkconxmldoc_s.a ../../dist/lib/libgkconxbl_s.a
> ../../dist/lib/libgkconxulcon_s.a ../../dist/lib/libgkconxuldoc_s.a
> ../../dist/lib/libgkview_s.a ../../dist/lib/libjsdombase_s.a
> ../../dist/lib/libjsdomevents_s.a ../../dist/lib/libjsurl_s.a
> ../../dist/lib/libjsdomstorage_s.a  ../../dist/lib/libgkxultree_s.a
> ../../dist/lib/libgkxulgrid_s.a ../../dist/lib/libgkconxultmpl_s.a
> ../../dist/lib/libinspector_s.a  ../../dist/lib/libgkmathmlcon_s.a
> ../../dist/lib/libgkmathmlbase_s.a  ../../dist/lib/libgkcontentxtf_s.a
> ../../dist/lib/libgkxtfbase_s.a  ../../dist/lib/libgksvgbase_s.a
> ../../dist/lib/libgkconsvgdoc_s.a ../../dist/lib/libgkcontentsvg_s.a
> ../../dist/lib/libgksvgrenderercairo_s.a  -Wl,--no-whole-archive
> -L../../dist/bin -L../../dist/lib -lgkgfx
> ../../dist/lib/libunicharutil_s.a -L../../dist/bin -lxpcom -lxpcom_core
>  -L../../dist/bin -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl
> -L../../dist/bin -lmozjs -L/usr/X11R6/lib   -lXft -lX11 -lfreetype
> -lXrender -lfontconfig    -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
> -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
> -lgmodule-2.0 -ldl -lglib-2.0    -lcairo    -Wl,--version-script
> -Wl,/tmp/seamonkey/mozilla/build/unix/gnu-ld-scripts/components-version-script
> -Wl,-Bsymbolic -ldl -lm
>
> The part we are looking for is '-L/usr/X11R6/lib   -lXft -lX11'

Oh, OK. Since you're adding $(MOZ_XFT_LIBS), you're getting
-L/usr/X11R6/lib from there. libXrender is just pulled in as NEEDED
from libXft.

--
Dan



More information about the blfs-dev mailing list