Make sure that tif_config.h is produced prior to entering the port
directory and add an include path so that the port files can include tif_config.h. Do not actually include tif_config.h at this time since CMake and Autotools builds are not prepared for that. This issue could be handled by updating the CMake and Autotools builds or by adding a define which directs libport.h to include tif_config.h.
This commit is contained in:
parent
550f8708d2
commit
ed3b07c4e2
@ -31,6 +31,9 @@
|
||||
all: port lib tools
|
||||
|
||||
port::
|
||||
cd libtiff
|
||||
$(MAKE) /f Makefile.vc tif_config.h
|
||||
cd..
|
||||
cd port
|
||||
$(MAKE) /f Makefile.vc
|
||||
cd..
|
||||
|
@ -55,6 +55,8 @@ EXTRAFLAGS = -DHAVE_STRTOULL $(EXTRAFLAGS)
|
||||
STRTOULL_OBJ = strtoull.obj
|
||||
!ENDIF
|
||||
|
||||
INCL = -I..\libtiff
|
||||
|
||||
OBJ = \
|
||||
snprintf.obj \
|
||||
strcasecmp.obj \
|
||||
|
Loading…
Reference in New Issue
Block a user