projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d80214c
)
Fixed static library compilation, using -fPIC now to allow linking
author
Armin Novak
<anovak@thinstuff.com>
Fri, 30 Aug 2013 12:19:09 +0000
(14:19 +0200)
committer
Armin Novak
<anovak@thinstuff.com>
Thu, 5 Sep 2013 10:14:34 +0000
(12:14 +0200)
to dynamic lib.
winpr/tools/makecert/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/winpr/tools/makecert/CMakeLists.txt
b/winpr/tools/makecert/CMakeLists.txt
index
c31d08c
..
22b0fb9
100644
(file)
--- a/
winpr/tools/makecert/CMakeLists.txt
+++ b/
winpr/tools/makecert/CMakeLists.txt
@@
-27,6
+27,11
@@
include_directories(${OPENSSL_INCLUDE_DIR})
add_library(${MODULE_NAME} STATIC ${${MODULE_PREFIX}_SRCS})
+# This line compiles the static libraries with -fPIC to allow linking
+# to shared libraries later on...
+# TODO: Remove this non portable way of linking.
+set_target_properties(${MODULE_NAME} PROPERTIES COMPILE_FLAGS "-fPIC")
+
set(${MODULE_PREFIX}_LIBS
${ZLIB_LIBRARIES}
${OPENSSL_LIBRARIES})