Install dlls to /bin

Ralf Habacker ralf.habacker at freenet.de
Fri Jul 13 13:26:12 CEST 2007


Nhuh Put schrieb:
> Hello
> This patch changes the default installation directory for dll files from
> /lib to /bin on Windows.
>
> 	PutHuhn
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
>   
Thanks for your effort. Do you have thought about the fact that if we
apply this patch it breaks installation on unix ?
On unix is must be

+install(TARGETS kdeinit_kconf_update
+             RUNTIME DESTINATION ${LIB_INSTALL_DIR}
+             LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+             ARCHIVE DESTINATION ${LIB_INSTALL_DIR}

which is done by the command 

install(TARGETS kdeinit_kconf_update  DESTINATION ${LIB_INSTALL_DIR} )

it is required to do something like this

+install(TARGETS kdeinit_kconf_update
+             RUNTIME DESTINATION ${LIB_RUNTIME_INSTALL_DIR}
+             LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+             ARCHIVE DESTINATION ${LIB_INSTALL_DIR}

and to set LIB_RUNTIME_INSTALL_DIR on a central place depending on the os.

I've redirected this mail to kde-buildsystem. Probably they can say more
how to solve the problem.

Ralf
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: windows_bin.patch
Url: http://mail.kde.org/pipermail/kde-windows/attachments/20070713/a4e7c41b/attachment.ksh 


More information about the Kde-windows mailing list