Skip to content

Commit c331789

Browse files
committed
sdk: utf8proc: Patch to disable -fPIC
1 parent b36f275 commit c331789

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--- CMakeLists.txt.orig
2+
+++ CMakeLists.txt
3+
@@ -46,7 +46,8 @@ if (NOT MSVC)
4+
endif ()
5+
6+
set_target_properties (utf8proc PROPERTIES
7+
- POSITION_INDEPENDENT_CODE ON
8+
+# POSITION_INDEPENDENT_CODE ON
9+
+ POSITION_INDEPENDENT_CODE OFF
10+
VERSION "${SO_MAJOR}.${SO_MINOR}.${SO_PATCH}"
11+
SOVERSION ${SO_MAJOR}
12+
)

0 commit comments

Comments
 (0)