File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ openspades_LDADD += $(FLTK_LIBS)
23
23
openspades_LDADD += $(ZLIB_LIBS )
24
24
# openspades_LDADD += $(PNG_LIBS)
25
25
openspades_LDADD += $(WIN32_LIBS )
26
- openspades_LDADD += -ldl
26
+ openspades_LDADD += $( DL_LIBS )
27
27
28
28
# pkg-config doesn't seem to work...
29
29
# openspades_LDADD += -ljpeg
Original file line number Diff line number Diff line change @@ -44,14 +44,17 @@ case $host_os in
44
44
CXX="clang++ -arch i386"
45
45
ZLIB_LIBS="-lz"
46
46
ZLIB_CFLAGS="-I/usr/include" # ??
47
+ DL_LIBS="-ldl"
47
48
;;
48
49
windows*|mingw*|winnt)
49
50
GL_LIBS="-lopengl32"
50
51
WIN32_LIBS="-lwsock32 -lws2_32 -lwinmm"
52
+ DL_LIBS=""
51
53
PKG_CHECK_MODULES(GLEW, glew)
52
54
;;
53
55
* )
54
56
PKG_CHECK_MODULES(GLEW, glew)
57
+ DL_LIBS="-ldl"
55
58
;;
56
59
esac
57
60
@@ -76,6 +79,8 @@ AC_SUBST(FLTK_LIBS)
76
79
77
80
AC_SUBST ( WIN32_LIBS )
78
81
82
+ AC_SUBST ( DL_LIBS )
83
+
79
84
# Data directory
80
85
81
86
case $host_os in
You can’t perform that action at this time.
0 commit comments