mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			Rebuild changes patch for libevent
							parent
							
								
									0e3419d1c9
								
							
						
					
					
						commit
						6cd560ee5a
					
				|  | @ -0,0 +1,11 @@ | ||||||
|  | --- a/minimal-examples/http-server/minimal-http-server-eventlib-foreign/CMakeLists.txt	2021-08-28 09:39:20.000000000 +0300
 | ||||||
|  | +++ b/minimal-examples/http-server/minimal-http-server-eventlib-foreign/CMakeLists.txt	2022-01-03 20:43:32.528922985 +0300
 | ||||||
|  | @@ -33,7 +33,7 @@
 | ||||||
|  |  endif() | ||||||
|  |  if (LWS_WITH_LIBEVENT) | ||||||
|  |  	find_path(LIBEVENT_INCLUDE_DIRS NAMES event2/event.h) | ||||||
|  | -	find_library(LIBEVENT_LIBRARIES NAMES event)
 | ||||||
|  | +	find_library(LIBEVENT_LIBRARIES NAMES event_core)
 | ||||||
|  |  	message("libevent include dir: ${LIBEVENT_INCLUDE_DIRS}") | ||||||
|  |  	message("libevent libraries: ${LIBEVENT_LIBRARIES}") | ||||||
|  |  	include_directories("${LIBEVENT_INCLUDE_DIRS}") | ||||||
|  | @ -0,0 +1,11 @@ | ||||||
|  | --- a/lib/event-libs/libevent/CMakeLists.txt	2021-08-28 09:39:20.000000000 +0300
 | ||||||
|  | +++ a/lib/event-libs/libevent/CMakeLists.txt	2022-01-03 20:46:11.900254822 +0300
 | ||||||
|  | @@ -35,7 +35,7 @@
 | ||||||
|  |   | ||||||
|  |  if (NOT LIBEVENT_FOUND) | ||||||
|  |  	find_path(LIBEVENT_INCLUDE_DIRS NAMES event2/event.h) | ||||||
|  | -	find_library(LIBEVENT_LIBRARIES NAMES event)
 | ||||||
|  | +	find_library(LIBEVENT_LIBRARIES NAMES event_core)
 | ||||||
|  |  endif() | ||||||
|  |  message("libevent include dir: ${LIBEVENT_INCLUDE_DIRS}") | ||||||
|  |  message("libevent libraries: ${LIBEVENT_LIBRARIES}") | ||||||
|  | @ -1,11 +0,0 @@ | ||||||
| --- a/CMakeLists.txt	2022-01-03 18:39:55.630310294 +0300
 |  | ||||||
| +++ b/CMakeLists.txt	2022-01-03 18:53:59.831506949 +0300
 |  | ||||||
| @@ -1784,7 +1784,7 @@
 |  | ||||||
|  if (LWS_WITH_LIBEVENT) |  | ||||||
|  	if (NOT LIBEVENT_FOUND) |  | ||||||
|  		find_path(LIBEVENT_INCLUDE_DIRS NAMES event2/event.h) |  | ||||||
| -		find_library(LIBEVENT_LIBRARIES NAMES event)
 |  | ||||||
| +		find_library(LIBEVENT_LIBRARIES NAMES event_core)
 |  | ||||||
|  		if(LIBEVENT_INCLUDE_DIRS AND LIBEVENT_LIBRARIES) |  | ||||||
|  			set(LIBEVENT_FOUND 1) |  | ||||||
|  		endif() |  | ||||||
		Loading…
	
		Reference in New Issue