summaryrefslogtreecommitdiff
path: root/p/haskell-glut/debian/patches/use-extra-libraries
blob: 330fe02930195a616cc15152cfe7614bcaafc616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/GLUT.cabal
+++ b/GLUT.cabal
@@ -104,6 +104,7 @@
   else
     cpp-options: "-DCALLCONV=ccall"
     cc-options: "-DUSE_DLSYM"
+    extra-libraries: glut
 
 executable BOGLGP01-OnYourOwn1
   if !flag(BuildExamples)
--- a/cbits/HsGLUT.c
+++ b/cbits/HsGLUT.c
@@ -57,7 +57,7 @@
   /* If the public path failed, try the system framework path. */
   "/System/Library/Frameworks/GLUT.framework/GLUT"
 #else
-  "libglut.so", "libglut.so.3"
+  NULL
 #endif
 };