Created
August 3, 2018 05:20
-
-
Save ugexe/b0660c937268ff76cc0015215ecf578d to your computer and use it in GitHub Desktop.
checks if the name, after going through the internal name mangler $*VM.platform-library-name($some-path), successfully loads some library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# declarative conditional method | |
{ | |
"depends" : [ | |
{ | |
"from" : "native", | |
"name" : { | |
"by-distro.name" : { | |
"macosx" : "ogg-but-some-mac-specific-name-difference!", | |
"debian" : "ogg", | |
"" : "ogg-but-a-generic-fallback" | |
} | |
} | |
} | |
] | |
} | |
# straight forward method | |
{ | |
"depends" : [ "ogg:from<native>" ] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment