Ticket #51912: patch-Makerules.diff
File patch-Makerules.diff, 1012 bytes (added by harciga, 8 years ago) |
---|
-
Makerules
old new 65 65 66 66 SYS_CURL_DEPS = -lpthread 67 67 68 SYS_X11_CFLAGS = -I/usr/X11R6/include69 SYS_X11_LIBS = -L/usr/X11R6/lib -lX11 -lXext68 SYS_X11_CFLAGS = $(shell pkg-config --cflags x11 xext) 69 SYS_X11_LIBS = $(shell pkg-config --libs x11 xext) 70 70 71 SYS_FREETYPE_CFLAGS = $(shell freetype-config --cflags)72 SYS_FREETYPE_LIBS = $(shell freetype-config --libs)71 SYS_FREETYPE_CFLAGS = $(shell pkg-config --cflags freetype2) 72 SYS_FREETYPE_LIBS = $(shell pkg-config --libs freetype2) 73 73 SYS_OPENJPEG_LIBS = -lopenjpeg 74 SYS_HARFBUZZ_CFLAGS = $(shell pkg-config --cflags harfbuzz) 75 SYS_HARFBUZZ_LIBS = $(shell pkg-config --libs harfbuzz) 74 76 SYS_JBIG2DEC_LIBS = -ljbig2dec 75 77 SYS_JPEG_LIBS = -ljpeg 76 78 SYS_ZLIB_LIBS = -lz 77 79 78 CC = xcruncc79 AR = xcrunar80 LD = xcrunld81 RANLIB_CMD = xcrunranlib $@80 CC = cc 81 AR = ar 82 LD = ld 83 RANLIB_CMD = ranlib $@ 82 84 83 85 # Linux uses pkg-config for system libraries. 84 86 else ifeq "$(OS)" "Linux"