Skip to content

Commit

Permalink
Reverted to dynamic lib model and reduced dependencies on system libs…
Browse files Browse the repository at this point in the history
… even further.
  • Loading branch information
Denis Loginov committed Sep 19, 2011
1 parent bcdd62c commit 84654cc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions goldendict.pro
Expand Up @@ -89,7 +89,6 @@ unix:!mac {
INSTALLS += desktops2
}
mac {
QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk
CONFIG += x86 x86_64
LIBS = -lz \
-liconv \
Expand All @@ -101,7 +100,7 @@ mac {
LIBS += -Lmaclibs/lib
ICON = icons/macicon.icns
QMAKE_POST_LINK = mkdir -p goldendict.app/Contents/Frameworks & \
cp maclibs/lib/* goldendict.app/Contents/Frameworks/ & \
cp -nR maclibs/lib/ goldendict.app/Contents/Frameworks/
}
DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\"

Expand Down
2 changes: 1 addition & 1 deletion maclibs/include/iconv.h
Expand Up @@ -49,7 +49,7 @@ extern LIBICONV_DLL_EXPORTED int _libiconv_version; /* Likewise */

/* Define iconv_t ourselves. */
#undef iconv_t
#define iconv_t libiconv_t
#define iconv_t iconv_t
typedef void* iconv_t;

/* Get size_t declaration.
Expand Down
Binary file renamed maclibs/lib/libiconv.a → maclibs/lib/libiconv.dylib 100644 → 100755
Binary file not shown.

0 comments on commit 84654cc

Please sign in to comment.