Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a problem with linking the math library on ubuntu 14.04 and 16.04 #12

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ cc_binary(
"-DQDECL=",
"-pthread",
],
linkopts = ["-pthread"],
linkopts = ["-pthread", "-lm"],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep each list item on a separate line. (See how the rest of the file is formatted.)

visibility = ["//deepmind/level_generation:__subpackages__"],
deps = ["@zlib_archive//:zlib"],
)
Expand Down Expand Up @@ -908,7 +908,7 @@ cc_binary(
":non_pk3_assets",
":vm_pk3",
],
linkopts = ["-lGL"],
linkopts = ["-lGL", "-lm"],
deps = [
":game_lib_sdl",
"//deepmind/engine:callbacks",
Expand Down