File armv7l-fpic.patch of Package unshield

Index: unshield-1.3/CMakeLists.txt
===================================================================
--- unshield-1.3.orig/CMakeLists.txt
+++ unshield-1.3/CMakeLists.txt
@@ -63,6 +63,9 @@ configure_file(${CMAKE_CURRENT_SOURCE_DI
 if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
     add_definitions(-fPIC)
 endif()
+if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "armv7l")
+    add_definitions(-fPIC)
+endif()
 
 add_subdirectory(lib)
 add_subdirectory(src)
openSUSE Build Service is sponsored by