[med-svn] [Git][med-team/terraphast][master] Enhance patch to create shared library

Andreas Tille (@tille) gitlab at salsa.debian.org
Fri Jan 21 14:24:56 GMT 2022



Andreas Tille pushed to branch master at Debian Med / terraphast


Commits:
237b0cd3 by Andreas Tille at 2022-01-21T15:24:26+01:00
Enhance patch to create shared library

- - - - -


1 changed file:

- debian/patches/dynamic_lib.patch


Changes:

=====================================
debian/patches/dynamic_lib.patch
=====================================
@@ -1,4 +1,5 @@
-Author: Andreas Tille <tille at debian.org>
+Author: Andreas Tille <tille at debian.org>,
+        Aaron M. Ucko <ucko at debian.org>
 Last-Update: Wed, 20 Oct 2021 09:51:23 +0200
 Description: Attempt to create shared library
  This patch is deactivated since the build fails with it.
@@ -58,3 +59,19 @@ Description: Attempt to create shared library
  endif()
  
  #####################################################################
+@@ -216,12 +228,15 @@ else()
+ 	endif()
+ endif()
+ 
++target_include_directories(terraces_static PUBLIC "${TERRAPHAST_PLATFORM_INCLUDE}")
+ target_include_directories(terraces PUBLIC "${TERRAPHAST_PLATFORM_INCLUDE}")
+ if(TERRAPHAST_BUILD_TESTS)
+ 	target_include_directories(unittests PRIVATE "${TERRAPHAST_PLATFORM_INCLUDE}")
+ endif()
++target_compile_options(terraces_static PRIVATE "${TERRAPHAST_COMPILE_FLAGS}")
+ target_compile_options(terraces PRIVATE "${TERRAPHAST_COMPILE_FLAGS}")
+ if(TERRAPHAST_BUILD_CLIB)
++	target_compile_options(terraces_c_static PRIVATE "${TERRAPHAST_COMPILE_FLAGS}")
+ 	target_compile_options(terraces_c PRIVATE "${TERRAPHAST_COMPILE_FLAGS}")
+ endif()
+ 



View it on GitLab: https://salsa.debian.org/med-team/terraphast/-/commit/237b0cd37ffaf8019994bdd2ed48ba51d2f7d409

-- 
View it on GitLab: https://salsa.debian.org/med-team/terraphast/-/commit/237b0cd37ffaf8019994bdd2ed48ba51d2f7d409
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220121/2f08f537/attachment-0001.htm>


More information about the debian-med-commit mailing list