Merge back @vlj's local patches of vcpkg
This commit is contained in:
parent
702d9f522d
commit
4631d84c2b
|
@ -12,7 +12,11 @@ HB_GLIB_LIBS = glib-2.0.lib
|
|||
HB_GOBJECT_DEP_LIBS = gobject-2.0.lib $(HB_GLIB_LIBS)
|
||||
|
||||
# Freetype is needed for building FreeType support and hb-view
|
||||
!if "$(CFG)" == "debug"
|
||||
FREETYPE_LIB = freetyped.lib
|
||||
!else
|
||||
FREETYPE_LIB = freetype.lib
|
||||
!endif
|
||||
|
||||
# Cairo is needed for building hb-view
|
||||
CAIRO_LIB = cairo.lib
|
||||
|
@ -125,6 +129,9 @@ HB_DEFINES = $(HB_DEFINES) /DHAVE_CAIRO=1
|
|||
|
||||
# Enable freetype if desired
|
||||
!if "$(FREETYPE)" == "1"
|
||||
!if "$(FREETYPE_DIR)" != ""
|
||||
HB_CFLAGS = $(HB_CFLAGS) /I$(FREETYPE_DIR)
|
||||
!endif
|
||||
HB_DEFINES = $(HB_DEFINES) /DHAVE_FREETYPE=1
|
||||
HB_SOURCES = $(HB_SOURCES) $(HB_FT_sources)
|
||||
HB_HEADERS = $(HB_HEADERS) $(HB_FT_headers)
|
||||
|
|
|
@ -130,6 +130,9 @@ LDFLAGS_ARCH = /machine:x86
|
|||
CFLAGS = $(CFLAGS_ADD) /W3 /Zi /I.. /I..\src /I. /I$(PREFIX)\include
|
||||
|
||||
LDFLAGS_BASE = $(LDFLAGS_ARCH) /libpath:$(PREFIX)\lib /DEBUG
|
||||
!if "$(ADDITIONAL_LIB_DIR)" != ""
|
||||
LDFLAGS_BASE = $(LDFLAGS_ARCH) /libpath:$(ADDITIONAL_LIB_DIR)
|
||||
!endif
|
||||
|
||||
!if "$(CFG)" == "debug"
|
||||
LDFLAGS = $(LDFLAGS_BASE)
|
||||
|
|
Loading…
Reference in New Issue