[Debian-islamic-commits] [libitl] 01/01: Add -lm for building shared lib
أحمد المحمودي (Ahmed El-Mahmoudy)
aelmahmoudy at users.sourceforge.net
Thu Oct 26 12:25:56 UTC 2017
This is an automated email from the git hooks/post-receive script.
aelmahmoudy-guest pushed a commit to branch master
in repository libitl.
commit 967f07ecc1fece71abb947570035b1b3a5243ef1
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
Date: Thu Oct 26 14:25:39 2017 +0200
Add -lm for building shared lib
---
debian/patches/build_shared.diff | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/patches/build_shared.diff b/debian/patches/build_shared.diff
index 83c2442..097f86c 100644
--- a/debian/patches/build_shared.diff
+++ b/debian/patches/build_shared.diff
@@ -2,8 +2,8 @@ Description: build shared library
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
Index: libitl/CMakeLists.txt
===================================================================
---- libitl.orig/CMakeLists.txt 2017-10-24 14:02:06.988005835 +0200
-+++ libitl/CMakeLists.txt 2017-10-24 14:26:42.557913684 +0200
+--- libitl.orig/CMakeLists.txt 2017-10-26 12:56:34.700114229 +0200
++++ libitl/CMakeLists.txt 2017-10-26 12:57:33.668350326 +0200
@@ -4,6 +4,11 @@
cmake_minimum_required(VERSION 2.6)
project( itl )
@@ -16,12 +16,13 @@ Index: libitl/CMakeLists.txt
message( "Installation target directory is: " ${CMAKE_INSTALL_PREFIX} )
message( "To override this value, use 'make -DCMAKE_INSTALL_PREFIX=$DIR'" )
-@@ -26,8 +31,11 @@
+@@ -26,8 +31,12 @@
)
add_library( itl STATIC ${HEADER_FILES} ${SOURCE_FILES} )
+add_library( itlShared SHARED ${HEADER_FILES} ${SOURCE_FILES} )
+set_target_properties(itlShared PROPERTIES VERSION "${LIBRARY_VERSION_FULL}" SOVERSION "${LIBRARY_VERSION_MAJOR}" OUTPUT_NAME "itl" )
++target_link_libraries( itlShared -lm )
install( FILES ${HEADER_FILES} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/itl" )
install( TARGETS itl DESTINATION ${CMAKE_INSTALL_LIBDIR} )
+install( TARGETS itlShared DESTINATION ${CMAKE_INSTALL_LIBDIR} )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-islamic/packages/libitl.git
More information about the Debian-islamic-commits
mailing list