Automatically find the library for the fpu exception
[u/mrichter/AliRoot.git] / conf / MachineDef.Linux
index cadbc5051f575acde7a7821a08a192d016a874b1..2c39baebb2a3b8e861f44cf7c10a5aae801aa89d 100644 (file)
@@ -50,5 +50,6 @@ SOFLAGS       = -Wl,-soname,$(notdir $@) -shared
 SHLIB         = -lg2c
 
 LIBS          = $(ROOTLIBS) 
-GLIBS         = $(ROOTLIBS) -L/usr/X11R6/lib -lX11 -lg2c -lcrypt
+LIBNOVER      = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
+GLIBS         = $(ROOTLIBS) -L/usr/X11R6/lib -lX11 -lg2c -lcrypt $(LIBNOVER)