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
This commit is contained in:
parent
953e3bbfac
commit
da77779436
1 changed files with 1 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue