File: dynamic_library.patch

package info (click to toggle)
o2 1.1~ds-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,416 kB
  • sloc: ansic: 11,340; python: 145; sh: 119; makefile: 73
file content (20 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: build dynamic library
Author: IOhannes m zmölnig
Origin: Debian
Bug: https://github.com/rbdannenberg/o2/pull/16
Applied-Upstream: ac047c021f0b55793fb6959a198ec02a74d5fa63
Last-Update: 2022-10-03
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- o2.orig/CMakeLists.txt
+++ o2/CMakeLists.txt
@@ -52,7 +52,8 @@
   src/o2_interoperation.c src/o2_interoperation.h
   )  
  
-add_library(o2_static STATIC ${O2_SRC})  
+add_library(o2_static STATIC ${O2_SRC})
+add_library(o2 SHARED ${O2_SRC})
  
 #target_include_directories(o2_static PRIVATE ${no include directories})