Merge pull request #1012 from apavlenko:fix_3077

This commit is contained in:
Roman Donchenko 2013-06-19 12:25:23 +04:00 committed by OpenCV Buildbot
commit 84262acbf0

View File

@ -269,6 +269,10 @@ else(ANDROID)
endif(ANDROID) endif(ANDROID)
# step 5: build native part # step 5: build native part
# workarounding lack of `__attribute__ ((visibility("default")))` in jni_md.h/JNIEXPORT
string(REPLACE "-fvisibility=hidden" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
add_library(${the_module} SHARED ${handwrittren_h_sources} ${handwrittren_cpp_sources} ${generated_cpp_sources} add_library(${the_module} SHARED ${handwrittren_h_sources} ${handwrittren_cpp_sources} ${generated_cpp_sources}
${copied_files} ${copied_files}
"${JAR_FILE}" "${JAR_FILE}.dephelper") "${JAR_FILE}" "${JAR_FILE}.dephelper")