To resolve the symbol XOpenDisplay link with libX11
When building the timeoutd binary the linker was not finding the XOpenDisplay symbol. By linking with libX11 the missing symbol is found Signed-off-by: Clark Rawlins <clark@defiant.bit63.org>
This commit is contained in:
		
							parent
							
								
									eeeb4d4f97
								
							
						
					
					
						commit
						f8a3bc0509
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -2,7 +2,7 @@ CFLAGS=-fomit-frame-pointer -O2 -s -g -Wall | |||
| timeoutd:	timeoutd.c Makefile | ||||
| 	#$(CC) $(CFLAGS) -o timeoutd timeoutd.c | ||||
| 	$(CC) $(CFLAGS) -o timeoutd.o -c timeoutd.c -DTIMEOUTDX11 | ||||
| 	$(CC) $(CFLAGS) -o timeoutd -L/usr/X11R6/lib timeoutd.o -lXss -lXext | ||||
| 	$(CC) $(CFLAGS) -o timeoutd -L/usr/X11R6/lib timeoutd.o -lXss -lXext -lX11 | ||||
| 	 | ||||
| 
 | ||||
| install: | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Clark Rawlins
						Clark Rawlins