- java.lang.Object
-
- com.gluonhq.substrate.util.linux.LinuxLinkerFlags
-
public class LinuxLinkerFlags extends java.lang.ObjectDefines 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()
-
-
-
Method Detail
-
getLinkerFlags
public static java.util.List<java.lang.String> getLinkerFlags() throws java.io.IOException, java.lang.InterruptedExceptionReturns 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.InterruptedExceptionjava.io.IOException
-
getMediaLinkerFlags
public static java.util.List<java.lang.String> getMediaLinkerFlags() throws java.io.IOException, java.lang.InterruptedException- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
-