diff --git a/src/plugins/db_plugin.pri b/src/plugins/db_plugin.pri index 471c0a633..5d30e86ab 100644 --- a/src/plugins/db_plugin.pri +++ b/src/plugins/db_plugin.pri @@ -10,7 +10,17 @@ LIBS += -L$$DESTDIR/.. -lklayout_db -lklayout_tl -lklayout_gsi DEFINES += MAKE_DB_PLUGIN_LIBRARY win32 { + + dlltarget.path = $$PREFIX/db_plugins + INSTALLS += dlltarget + # to avoid the major version being appended to the dll name - in this case -lxyz won't link it again # because the library is called xyx0.dll. CONFIG += skip_target_version_ext + +} else { + + target.path = $$PREFIX/db_plugins + INSTALLS += target + } diff --git a/src/plugins/lay_plugin.pri b/src/plugins/lay_plugin.pri index 19cad3598..be3655cd2 100644 --- a/src/plugins/lay_plugin.pri +++ b/src/plugins/lay_plugin.pri @@ -10,7 +10,17 @@ LIBS += -L$$DESTDIR/.. -lklayout_db -lklayout_tl -lklayout_gsi -lklayout_laybasi DEFINES += MAKE_LAY_PLUGIN_LIBRARY win32 { + + dlltarget.path = $$PREFIX/lay_plugins + INSTALLS += dlltarget + # to avoid the major version being appended to the dll name - in this case -lxyz won't link it again # because the library is called xyx0.dll. CONFIG += skip_target_version_ext + +} else { + + target.path = $$PREFIX/lay_plugins + INSTALLS += target + }