Skip to content

Commit

Permalink
Build: Fix linking for audio and utility system for POSIX
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLynix committed May 30, 2016
1 parent 6a938ea commit c6af1a6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
15 changes: 11 additions & 4 deletions build/scripts/modules/audio.lua
Expand Up @@ -5,19 +5,26 @@ MODULE.Defines = {
}

MODULE.Libraries = {
"NazaraCore",
"NazaraCore"
}

MODULE.OsLibraries.Windows = {
"sndfile-1"
}

MODULE.OsFiles.Windows = {
"../src/Nazara/Audio/Win32/**.hpp",
"../src/Nazara/Audio/Win32/**.cpp"
MODULE.OsLibraries.Posix = {
"sndfile"
}

MODULE.OsDynLib.Windows = {
"soft_oal"
}

MODULE.OsFiles.Windows = {
"../src/Nazara/Audio/Win32/**.hpp",
"../src/Nazara/Audio/Win32/**.cpp"
}

MODULE.OsFiles.Posix = {
"../src/Nazara/Audio/Posix/**.hpp",
"../src/Nazara/Audio/Posix/**.cpp"
Expand Down
3 changes: 2 additions & 1 deletion build/scripts/modules/utility.lua
@@ -1,7 +1,6 @@
MODULE.Name = "Utility"

MODULE.Libraries = {
"freetype-s",
"NazaraCore",
"stb_image"
}
Expand All @@ -17,10 +16,12 @@ MODULE.OsFiles.Posix = {
}

MODULE.OsLibraries.Windows = {
"freetype-s",
"gdi32"
}

MODULE.OsLibraries.Posix = {
"freetype",
"X11",
"xcb",
"xcb-cursor",
Expand Down

0 comments on commit c6af1a6

Please sign in to comment.