From da77779436ca836191a4eef7bcc0e08977ab315f Mon Sep 17 00:00:00 2001 From: durk Date: Tue, 17 Jul 2007 18:00:06 +0000 Subject: [PATCH] Martin Spott: On most Unix platforms like FreeBSD, Solaris, IRIX (AIX is even worse) - just not on Linux - the linker wants to know about _all_ required libraries. So even if a shared library "libosgViewer" itself is linked against "libosgGA" and "libosgText", you still have to name these in order to build an "fgfs" binary. Currently, other libraries like "-losgDB" and "-losgUtil" are explicitly mentioned on the "fgfs" linker command, but "-losgGA" and "-losgText" are not. This simple patch lets the linker honour everything that's required --- src/Main/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/Makefile.am b/src/Main/Makefile.am index e9c8e6bec..37838c9bc 100644 --- a/src/Main/Makefile.am +++ b/src/Main/Makefile.am @@ -104,7 +104,7 @@ fgfs_LDADD = \ -lsgstructure -lsgenvironment \ -lplibpuaux -lplibpu -lplibfnt -lplibjs -lplibnet \ -lplibsg -lplibul \ - -losgViewer -losgFX -losgUtil -losgDB -losgSim -losg -lOpenThreads \ + -losgViewer -losgGA -losgText -losgFX -losgUtil -losgDB -losgSim -losg -lOpenThreads \ $(THREAD_LIBS) \ $(network_LIBS) \ -lz \ -- 2.39.5