Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add dependency on libscsynth again

On some systems, when loading libraries with template haskell, the
compiler crashes because of unresolved symbols if we don't link against
libscsynth.
  • Loading branch information...
commit 50d0565268cae7e1a5908dffff5957015d520820 1 parent e4688b7
Stefan Kersten authored
Showing with 5 additions and 7 deletions.
  1. +0 −3  ChangeLog.md
  2. +5 −4 bindings-sc3.cabal
View
3  ChangeLog.md
@@ -1,9 +1,6 @@
### v0.4.0
* Include SuperCollider API header files in the package
-* Don't depend on `libscsynth` at build time in order to enable building
- the API documentation on Hackage. This means that library users need to link
- explicitly against `libscsynth`.
### v0.3.0
View
9 bindings-sc3.cabal
@@ -11,9 +11,9 @@ Description:
.
In order to use this package, you need to build the dynamic library version
of SuperCollider <supercollider.sourceforge.net> by passing
- @-DLIBSCSYNTH=ON@ to @cmake@. When linking an executable or running
- a script with @runhaskell@ you need to link aginst the shared library
- @libscsynth@.
+ @-DLIBSCSYNTH=ON@ to @cmake@ and put it in a location where it can be found by the
+ linker (e.g. @/usr/local/lib@ on Unix systems, alternatively use the @--extra-lib-dirs@
+ flag of @cabal configure@).
.
The required SuperCollider version is 3.5.
License: GPL
@@ -35,10 +35,11 @@ Data-Files:
Library
Extensions: ForeignFunctionInterface
Exposed-Modules: Bindings.Sound.SC3
- C-Sources: cbits/helper_functions.c
+ C-Sources: cbits/helper_functions.c
Build-Depends: base >= 3 && < 5
, bindings-DSL >= 1.0 && < 1.1
Include-Dirs: ./include
+ Extra-Libraries: scsynth
Source-Repository head
Type: git
Please sign in to comment.
Something went wrong with that request. Please try again.