Class LinuxLinkerFlags


  • public class LinuxLinkerFlags
    extends java.lang.Object
    Defines linker flags for a given linux flavor (debian/fedora).
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> getLinkerFlags()
      Returns linker flag appropriate for the current linux variant.
      static java.util.List<java.lang.String> getMediaLinkerFlags()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLinkerFlags

        public static java.util.List<java.lang.String> getLinkerFlags()
                                                               throws java.io.IOException,
                                                                      java.lang.InterruptedException
        Returns linker flag appropriate for the current linux variant. Consults the system pkg-config for all required packages and combines their associated linker flags. If any of the packages are missing, this is cause for abort with information to the user about which OS packages need to be installed.
        Returns:
        linker flag appropriate for the current linux variant.
        Throws:
        java.lang.InterruptedException
        java.io.IOException
      • getMediaLinkerFlags

        public static java.util.List<java.lang.String> getMediaLinkerFlags()
                                                                    throws java.io.IOException,
                                                                           java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException