Debian Codegraph @

debian/patches/use-extra-libraries

raw
1 Index: b/GLUT.cabal
2 ===================================================================
3 --- a/GLUT.cabal
4 +++ b/GLUT.cabal
5 @@ -108,6 +108,7 @@ library
6 else
7 cpp-options: "-DCALLCONV=ccall"
8 cc-options: "-DUSE_DLSYM"
9 + extra-libraries: glut
10
11 executable BOGLGP01-OnYourOwn1
12 if !flag(BuildExamples)
13 Index: b/cbits/HsGLUT.c
14 ===================================================================
15 --- a/cbits/HsGLUT.c
16 +++ b/cbits/HsGLUT.c
17 @@ -57,7 +57,7 @@ static const char* libNames[] = {
18 /* If the public path failed, try the system framework path. */
19 "/System/Library/Frameworks/GLUT.framework/GLUT"
20 #else
21 - "libglut.so", "libglut.so.3"
22 + NULL
23 #endif
24 };
25