Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Commit b21d652

Browse files
author
syb0rg
committed
Fix ranlib no symbols problem
1 parent 89a2b8f commit b21d652

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/libsphinxbase/util/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ SET(SOURCES bio.c
77
cmd_ln.c
88
dtoa.c
99
err.c
10-
errno.c
1110
f2c_lite.c
1211
filename.c
1312
genrand.c
@@ -26,5 +25,9 @@ SET(SOURCES bio.c
2625
slapack_lite.c
2726
strfuncs.c
2827
)
29-
28+
29+
if (WIN32)
30+
set(SOURCES ${SOURCES} errno.c)
31+
endif ()
32+
3033
add_library(util OBJECT ${SOURCES})

0 commit comments

Comments
 (0)