mirror of
				https://github.com/michaelrsweet/pdfio.git
				synced 2025-10-31 10:26:22 +01:00 
			
		
		
		
	Fix testpdfio build - dependencies on pdfio-private.h were missing.
This commit is contained in:
		
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							| @@ -16,8 +16,8 @@ ARFLAGS		=	cr | ||||
| CC		=	cc | ||||
| CFLAGS		= | ||||
| CODESIGN_IDENTITY =	Developer ID | ||||
| #COMMONFLAGS	=	-Os -g | ||||
| COMMONFLAGS	=	-O0 -g -fsanitize=address | ||||
| COMMONFLAGS	=	-Os -g | ||||
| #COMMONFLAGS	=	-O0 -g -fsanitize=address | ||||
| CPPFLAGS	=	'-DPDFIO_VERSION="$(VERSION)"' | ||||
| DESTDIR		=	$(DSTROOT) | ||||
| DSO		=	cc | ||||
| @@ -160,8 +160,7 @@ testpdfio:		testpdfio.o libpdfio.a | ||||
|  | ||||
|  | ||||
| # Dependencies | ||||
| $(OBJS):		pdfio.h Makefile | ||||
| $(LIBOBJS):		pdfio-private.h | ||||
| $(OBJS):		pdfio.h pdfio-private.h Makefile | ||||
| pdfio-content.o:	pdfio-content.h ttf.h | ||||
| ttf.o:			ttf.h | ||||
|  | ||||
|   | ||||
| @@ -971,7 +971,7 @@ do_unit_tests(void) | ||||
|   fputs("_pdfioValueRead(complex_dict): ", stdout); | ||||
|   s = complex_dict; | ||||
|   _pdfioTokenInit(&tb, inpdf, (_pdfio_tconsume_cb_t)token_consume_cb, (_pdfio_tpeek_cb_t)token_peek_cb, (void *)&s); | ||||
|   if (_pdfioValueRead(inpdf, NULL, &tb, &value)) | ||||
|   if (_pdfioValueRead(inpdf, NULL, &tb, &value, 0)) | ||||
|   { | ||||
|     // TODO: Check value... | ||||
|     fputs("PASS: ", stdout); | ||||
| @@ -985,7 +985,7 @@ do_unit_tests(void) | ||||
|   fputs("_pdfioValueRead(cid_dict): ", stdout); | ||||
|   s = cid_dict; | ||||
|   _pdfioTokenInit(&tb, inpdf, (_pdfio_tconsume_cb_t)token_consume_cb, (_pdfio_tpeek_cb_t)token_peek_cb, (void *)&s); | ||||
|   if (_pdfioValueRead(inpdf, NULL, &tb, &value)) | ||||
|   if (_pdfioValueRead(inpdf, NULL, &tb, &value, 0)) | ||||
|   { | ||||
|     // TODO: Check value... | ||||
|     fputs("PASS: ", stdout); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user