blob: e6f8dc65e566e247b40362381d6f94d80b8f7128 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -urN mercury-extras-10.04.1.orig/dynamic_linking/Mmakefile mercury-extras-10.04.1/dynamic_linking/Mmakefile
--- mercury-extras-10.04.1.orig/dynamic_linking/Mmakefile 2005-01-25 20:49:05.000000000 +1300
+++ mercury-extras-10.04.1/dynamic_linking/Mmakefile 2010-09-06 19:35:05.000000000 +1200
@@ -11,7 +11,7 @@
MLFLAGS = --shared
# Link in the `-ldl' library (this may not be needed on some systems)
-MLLIBS = -ldl
+MLLIBS = -L/usr/@libdir@ -ldl
# enable C-level debugging
CFLAGS = -g
|