summaryrefslogtreecommitdiff
path: root/app-office/scribus/files/scribus-1.5.3-fpic.patch
blob: bb4378e5effa2b83f47c416020b1cc06fe977824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 scribus/third_party/prc/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

--- a/scribus/third_party/prc/CMakeLists.txt
+++ b/scribus/third_party/prc/CMakeLists.txt
@@ -5,6 +5,8 @@ ${OPENGL_INCLUDE_DIR}
 ${FREETYPE_INCLUDE_DIRS}
 )
 
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_FPIC}")
+
 set(SCRIBUS_PRC_LIB_SOURCES
     oPRCFile.cc
     PRCbitStream.cc