mirror of
				https://github.com/bellard/quickjs.git
				synced 2025-05-29 01:49:18 +08:00 
			
		
		
		
	fixed examples/hello_module compilation (#240)
This commit is contained in:
		
							parent
							
								
									6d6893bfa3
								
							
						
					
					
						commit
						7399069dc1
					
				
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@ -381,7 +381,7 @@ examples/hello: $(OBJDIR)/hello.o $(QJS_LIB_OBJS)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# example of static JS compilation with modules
 | 
					# example of static JS compilation with modules
 | 
				
			||||||
HELLO_MODULE_SRCS=examples/hello_module.js
 | 
					HELLO_MODULE_SRCS=examples/hello_module.js
 | 
				
			||||||
HELLO_MODULE_OPTS=-fno-string-normalize -fno-map -fno-promise -fno-typedarray \
 | 
					HELLO_MODULE_OPTS=-fno-string-normalize -fno-map -fno-typedarray \
 | 
				
			||||||
           -fno-typedarray -fno-regexp -fno-json -fno-eval -fno-proxy \
 | 
					           -fno-typedarray -fno-regexp -fno-json -fno-eval -fno-proxy \
 | 
				
			||||||
           -fno-date -m
 | 
					           -fno-date -m
 | 
				
			||||||
examples/hello_module: $(QJSC) libquickjs$(LTOEXT).a $(HELLO_MODULE_SRCS)
 | 
					examples/hello_module: $(QJSC) libquickjs$(LTOEXT).a $(HELLO_MODULE_SRCS)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user