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 <[email protected]>
+Author: Andreas Tille <[email protected]>,
+        Aaron M. Ucko <[email protected]>
 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.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to