File: 2001_fix_static_libname.patch

package info (click to toggle)
editorconfig-core 0.12.9%2B~0.17.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 936 kB
  • sloc: ansic: 1,601; makefile: 16; sh: 10
file content (20 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Use the same name for static and shared library
 Upstream uses libeditorconfig_static.a for static library but
 d-shlibmove expects both library to have same name. This patch
 fixes it.
Author: Vasudev Kamath <kamathvasudev@gmail.com>
Forwarded: not-needed
Last-Update: 2016-03-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -57,7 +57,7 @@
     INTERFACE $<INSTALL_INTERFACE:include>
 )
 set_target_properties(editorconfig_static PROPERTIES
-    OUTPUT_NAME editorconfig_static
+    OUTPUT_NAME editorconfig
     VERSION ${PROJECT_VERSION})
 
 # We need to link Shwapi since we use PathIsRelative