From 4c32c09178bc432fe03550fcb6c392d7051b3b74 Mon Sep 17 00:00:00 2001 From: tobigun Date: Thu, 23 Jul 2009 18:25:29 +0000 Subject: - iconv ambiguity on mac os x solved (used /sw/lib/ one with missing symbols instead of /usr/lib one) - cwstring unit enabled again. Was previously disabled because of a crash caused by using WideUpperCase() from an SDL-thread (here from an SDLTimer callback). The bug was fixed several months ago. In addition it works now on OS X as of the fix described above. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1877 b956fd51-792f-4845-bead-9b4dfca2ff2c --- unicode/src/Makefile.in | 2 +- unicode/src/ultrastardx.dpr | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'unicode/src') diff --git a/unicode/src/Makefile.in b/unicode/src/Makefile.in index 3d4b6def..06e62c43 100644 --- a/unicode/src/Makefile.in +++ b/unicode/src/Makefile.in @@ -122,7 +122,7 @@ endif LIBS ?= @LIBS@ LDFLAGS ?= @LDFLAGS@ -linkflags := $(sort $(LDFLAGS) $(LIBS)) +linkflags := -L/usr/lib $(sort $(LDFLAGS) $(LIBS)) ifneq ($(linkflags),) PLINKFLAGS := -k"$(linkflags)" endif diff --git a/unicode/src/ultrastardx.dpr b/unicode/src/ultrastardx.dpr index 9a5bc118..21e1b15f 100644 --- a/unicode/src/ultrastardx.dpr +++ b/unicode/src/ultrastardx.dpr @@ -50,11 +50,7 @@ uses {$IFDEF Unix} cthreads, // THIS MUST be the first used unit in FPC if Threads are used!! // (see http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial) - // cwstring crashes in FPC 2.2.2 so do not use the cwstring stuff - {.$IFNDEF DARWIN} - {$IFDEF NOIGNORE} - cwstring, // Enable Unicode support. MacOSX misses some references to iconv. - {$ENDIF} + cwstring, // Enable Unicode support {$ENDIF} {$IFNDEF FPC} -- cgit v1.2.3