File: private_libmopac.patch

package info (click to toggle)
mopac 23.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 115,604 kB
  • sloc: f90: 165,274; python: 202; sh: 181; ansic: 85; makefile: 8
file content (13 lines) | stat: -rw-r--r-- 460 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: mopac/CMakeLists.txt
===================================================================
--- mopac.orig/CMakeLists.txt
+++ mopac/CMakeLists.txt
@@ -101,7 +101,7 @@ if (STATIC_BUILD)
   target_link_options(mopac-core PUBLIC "-static")
   set(BLA_STATIC ON)
 else()
-  add_library(mopac-core SHARED)
+  add_library(mopac-core STATIC)
   if(FORCE_EXPORT_SYMBOLS)
     set_target_properties(mopac-core PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS true)
   endif()