Commit bd4de275 authored by Sean McGovern's avatar Sean McGovern Committed by Jean-Baptiste Kempf

contrib: openjpeg: build PIC

(cherry picked from commit a1dbb411)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent ff057ae1
--- openjpeg/src/lib/openjp2/CMakeLists.txt.ORIG 2017-12-06 00:07:11.830711871 -0500
+++ openjpeg/src/lib/openjp2/CMakeLists.txt 2017-12-06 00:11:45.359362244 -0500
@@ -1,5 +1,7 @@
include_regular_expression("^.*$")
+set(CMAKE_POSITION_INDEPENDENT_CODE ON)
+
#
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/opj_config.h
DESTINATION ${OPENJPEG_INSTALL_INCLUDE_DIR} COMPONENT Headers)
......@@ -16,6 +16,7 @@ ifdef HAVE_VISUALSTUDIO
endif
# $(APPLY) $(SRC)/openjpeg/restrict.patch
$(APPLY) $(SRC)/openjpeg/install.patch
$(APPLY) $(SRC)/openjpeg/pic.patch
$(call pkg_static,"./src/lib/openjp2/libopenjp2.pc.cmake.in")
$(MOVE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment