--- CMakeLists.txt.orig	2009-06-08 09:26:31.000000000 +0400
+++ CMakeLists.txt	2009-08-11 11:07:07.000000000 +0400
@@ -39,11 +39,9 @@
 OPTION(ALSOFT_CONFIG "Install alsoft.conf configuration file" OFF)
 
 
+SET(LIBNAME openal)
 IF(WIN32)
-    SET(LIBNAME OpenAL32)
     ADD_DEFINITIONS("-D_WIN32")
-ELSE()
-    SET(LIBNAME openal)
 ENDIF()
 
 SET(LIB_MAJOR_VERSION "1")
@@ -414,9 +412,6 @@
 ADD_LIBRARY(${LIBNAME} ${LIBTYPE} ${OPENAL_OBJS} ${ALC_OBJS})
 SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES VERSION ${LIB_VERSION}
                                             SOVERSION ${LIB_MAJOR_VERSION})
-IF(WIN32)
-    SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES PREFIX "")
-ENDIF()
 
 TARGET_LINK_LIBRARIES(${LIBNAME} ${EXTRA_LIBS})
 
