{"action":"created","issue":{"url":"https://api.github.com/repos/mgba-emu/mgba/issues/62","labels_url":"https://api.github.com/repos/mgba-emu/mgba/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/mgba-emu/mgba/issues/62/comments","events_url":"https://api.github.com/repos/mgba-emu/mgba/issues/62/events","html_url":"https://github.com/mgba-emu/mgba/pull/62","id":95929402,"number":62,"title":"The library directory is set to \"lib\" or \"lib64\" depending on the system.","user":{"login":"duganchen","id":447610,"avatar_url":"https://avatars.githubusercontent.com/u/447610?v=3","gravatar_id":"","url":"https://api.github.com/users/duganchen","html_url":"https://github.com/duganchen","followers_url":"https://api.github.com/users/duganchen/followers","following_url":"https://api.github.com/users/duganchen/following{/other_user}","gists_url":"https://api.github.com/users/duganchen/gists{/gist_id}","starred_url":"https://api.github.com/users/duganchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duganchen/subscriptions","organizations_url":"https://api.github.com/users/duganchen/orgs","repos_url":"https://api.github.com/users/duganchen/repos","events_url":"https://api.github.com/users/duganchen/events{/privacy}","received_events_url":"https://api.github.com/users/duganchen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-19T16:33:48Z","updated_at":"2015-07-19T18:13:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mgba-emu/mgba/pulls/62","html_url":"https://github.com/mgba-emu/mgba/pull/62","diff_url":"https://github.com/mgba-emu/mgba/pull/62.diff","patch_url":"https://github.com/mgba-emu/mgba/pull/62.patch"},"body":"This should better accommodate systems (such as Slackware, which I run) that expect 64-bit libraries to be in /usr/lib64.\r\n\r\nIt allows GNUInstallDirs to set the CMAKE_INSTALL_LIBDIR variable, then uses that variable in every place where it would help (for example. in places previously hardcoded to \"lib\").\r\n\r\nI've tested it on my 64-bit system, and it results in the library directory being set correctly to /usr/local/lib64 if you don't specify any CMake options.\r\n\r\nI also tested using -DCMAKE_INSTALL_LIBDIR=lib128 to make sure that overriding it works, and it does."},"comment":{"url":"https://api.github.com/repos/mgba-emu/mgba/issues/comments/122689658","html_url":"https://github.com/mgba-emu/mgba/pull/62#issuecomment-122689658","issue_url":"https://api.github.com/repos/mgba-emu/mgba/issues/62","id":122689658,"user":{"login":"duganchen","id":447610,"avatar_url":"https://avatars.githubusercontent.com/u/447610?v=3","gravatar_id":"","url":"https://api.github.com/users/duganchen","html_url":"https://github.com/duganchen","followers_url":"https://api.github.com/users/duganchen/followers","following_url":"https://api.github.com/users/duganchen/following{/other_user}","gists_url":"https://api.github.com/users/duganchen/gists{/gist_id}","starred_url":"https://api.github.com/users/duganchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duganchen/subscriptions","organizations_url":"https://api.github.com/users/duganchen/orgs","repos_url":"https://api.github.com/users/duganchen/repos","events_url":"https://api.github.com/users/duganchen/events{/privacy}","received_events_url":"https://api.github.com/users/duganchen/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T18:13:28Z","updated_at":"2015-07-19T18:13:28Z","body":"I've just pushed a new revision. The library directory now defaults \"lib\" (even on my 64-bit Slackware system; I just tested) unless you override it with -DLIBDIR=lib64."}}