cmake: Expose all symbols from vchostif in bcm_host
authorpopcornmix <popcornmix@gmail.com>
Wed, 1 Mar 2017 23:37:18 +0000 (23:37 +0000)
committerpopcornmix <popcornmix@gmail.com>
Thu, 2 Mar 2017 00:34:04 +0000 (00:34 +0000)
host_applications/linux/libs/bcm_host/CMakeLists.txt

index 1edf50abf7cc1d0faf3b9a9518341af35b8a78a4..3c6b476590de89a0878e8beec6e510de7e9fd8ae 100644 (file)
@@ -6,6 +6,9 @@ else ()
    add_definitions(-Wall -Werror)
 endif ()
 
+# set this as we want all the source of vchostif to be available in libbcm_host
+set (CMAKE_SHARED_LINKER_FLAGS "-u vc_gpuserv_init")
+
 include_directories( ../../../.. 
                     ../../../../interface/vcos/${VCOS_PLATFORM}
                     ../../../../host_support/linux/added/include