Browse Source

Fix compilation for Arm 64

master
Macoy Madson 8 months ago
parent
commit
407acd5a6a
  1. 5
      ReadMe.org
  2. 2
      src/AutoColor.cake

5
ReadMe.org

@ -72,6 +72,11 @@ Auto Color currently supports the following managers:
*** GNOME 2.0
This should work on any newer Ubuntu distribution.
Before compilation:
#+BEGIN_SRC sh
sudo apt install libglib2.0-dev
#+END_SRC
On compilation:
#+BEGIN_SRC sh
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include

2
src/AutoColor.cake

@ -137,7 +137,9 @@ License along with this library; if not, see <http://www.gnu.org/licenses/>.
('Unix
;; Gnome GTK
(add-c-search-directory-module "/usr/include/glib-2.0")
;; For glibconfig.h, which is auto-generated for each platform
(add-c-search-directory-module "/usr/lib/x86_64-linux-gnu/glib-2.0/include")
(add-c-search-directory-module "/usr/lib/aarch64-linux-gnu/glib-2.0/include")
(c-import "gio/gio.h")
(add-library-dependency "glib-2.0" "gio-2.0" "gobject-2.0")

Loading…
Cancel
Save