fix how glib is included
This commit is contained in:
parent
6bc28ad466
commit
0d10413fe0
2
Makefile
2
Makefile
|
|
@ -331,7 +331,7 @@ dependencies-check:
|
||||||
}; \
|
}; \
|
||||||
$(ECHO) checking that the dependencies exist; \
|
$(ECHO) checking that the dependencies exist; \
|
||||||
checkheader libjpeg8-dev jpeglib.h jpeg_set_defaults "$(CPPFLAGS_JPEG)" "$(LIBS_JPEG)"; \
|
checkheader libjpeg8-dev jpeglib.h jpeg_set_defaults "$(CPPFLAGS_JPEG)" "$(LIBS_JPEG)"; \
|
||||||
checkheader libglib2.0-dev glib/gutils.h g_path_is_absolute "$(CPPFLAGS_GLIB)" "$(LIBS_GLIB)"; \
|
checkheader libglib2.0-dev glib.h g_path_is_absolute "$(CPPFLAGS_GLIB)" "$(LIBS_GLIB)"; \
|
||||||
checkheader libxml2-dev libxml/xpath.h xmlXPathInit "$(CPPFLAGS_XML)" "$(LIBS_XML)"; \
|
checkheader libxml2-dev libxml/xpath.h xmlXPathInit "$(CPPFLAGS_XML)" "$(LIBS_XML)"; \
|
||||||
checkheader libpng12-dev png.h png_create_read_struct "$(CPPFLAGS_PNG)" "$(LIBS_PNG)"; \
|
checkheader libpng12-dev png.h png_create_read_struct "$(CPPFLAGS_PNG)" "$(LIBS_PNG)"; \
|
||||||
checkheader "mesa-common-dev (or another OpenGL library)" GL/gl.h glClear "$(CPPFLAGS_GL)" "$(LIBS_GL)"; \
|
checkheader "mesa-common-dev (or another OpenGL library)" GL/gl.h glClear "$(CPPFLAGS_GL)" "$(LIBS_GL)"; \
|
||||||
|
|
|
||||||
|
|
@ -188,7 +188,7 @@ bool portable_app_setup()
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <glib/gutils.h>
|
#include <glib.h>
|
||||||
|
|
||||||
const char* LINK_NAME =
|
const char* LINK_NAME =
|
||||||
#if defined (__linux__)
|
#if defined (__linux__)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user