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:
Randy Li
2017-07-25 17:10:29 +08:00
parent 2dfa2bb76d
commit 5504570c3d

View File

@@ -61,9 +61,7 @@ if(ANDROID)
add_definitions(-static)
# in Android pthread is in libc, also need liblog
target_link_libraries(osal log stdc++ m)
elseif(UNIX)
target_link_libraries(osal -ldl -lrt)
endif()
endif(ANDROID)
# unit test
add_subdirectory(test)