configure
changeset 351 fb106ad03770
parent 343 118c1cabd0b0
child 354 396ac66670ad
equal deleted inserted replaced
350:e90113f7030b 351:fb106ad03770
   560 if [ "$DISABLE_DLL" = "1" ]; then
   560 if [ "$DISABLE_DLL" = "1" ]; then
   561 	SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ -DNOT_USE_DYNAMIC_LOADING
   561 	SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ -DNOT_USE_DYNAMIC_LOADING
   562 	SUB_ENABLE_DLL_DRIVERS=0
   562 	SUB_ENABLE_DLL_DRIVERS=0
   563 else
   563 else
   564 	SUB_ENABLE_DLL_DRIVERS=1
   564 	SUB_ENABLE_DLL_DRIVERS=1
   565 	SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -ldl
   565 	if [ "$SUB_OS_NAME" = "MINGW32" ]; then
       
   566 		SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS
       
   567 	else
       
   568 		SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -ldl
       
   569 	fi
       
   570 	
   566 fi
   571 fi
   567 
   572 
   568 
   573 
   569 if [ "$DISABLE_DLL" = "1" ]; then
   574 if [ "$DISABLE_DLL" = "1" ]; then
   570 	SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ $SUB_CAN_DLL_CFLAGS
   575 	SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ $SUB_CAN_DLL_CFLAGS