mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
Revert "[osal]: linux: add -ldl -lct to link relative library"
This reverts commit 8d42511773
.
It will cause a problem in the platform skipping those library.
since those libraries are not necessary for any platform,
I think don't link with them would be better.
Change-Id: I33f48750f70838e393c02eb55971d5ebe0d3df31
Signed-off-by: Randy Li <randy.li@rock-chips.com>
This commit is contained in:
@@ -61,9 +61,7 @@ if(ANDROID)
|
|||||||
add_definitions(-static)
|
add_definitions(-static)
|
||||||
# in Android pthread is in libc, also need liblog
|
# in Android pthread is in libc, also need liblog
|
||||||
target_link_libraries(osal log stdc++ m)
|
target_link_libraries(osal log stdc++ m)
|
||||||
elseif(UNIX)
|
endif(ANDROID)
|
||||||
target_link_libraries(osal -ldl -lrt)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# unit test
|
# unit test
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
|
Reference in New Issue
Block a user