From 0932f8a7b953828b3748c59a5a7027ea914c0780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Thu, 5 Mar 2009 14:14:33 +0000 Subject: [PATCH] fix static build and backend loading for mingw32 git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2671 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- include/hamlib/rig_dll.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hamlib/rig_dll.h b/include/hamlib/rig_dll.h index e6aa683ba..03b9feb96 100644 --- a/include/hamlib/rig_dll.h +++ b/include/hamlib/rig_dll.h @@ -41,8 +41,8 @@ # define HAMLIB_IMPEXP HAMLIB_DLL_IMPORT # endif # else -# define HAMLIB_IMPEXP HAMLIB_DLL_IMPORT - /* must be static build, no directive? */ + /* static build, only export the backend entry points for lt_dlsym */ +# define BACKEND_IMPEXP HAMLIB_DLL_EXPORT # endif #endif