+libcycript_sim_la_SHORTNAME = sim
+if CY_IOS_SIMULATOR
+lib_LTLIBRARIES += libcycript-sim.la
+libcycript_sim_la_SOURCES = $(libcycript_la_SOURCES)
+libcycript_sim_la_CPPFLAGS = $(AM_CPPFLAGS)
+
+CY_SIM_FLAGS = -arch i386 -isysroot $(CY_IOS_SIMULATOR)
+libcycript_sim_la_CXXFLAGS = $(CY_SIM_FLAGS)
+libcycript_sim_la_OBJCXXFLAGS = $(CY_SIM_FLAGS)
+libcycript_sim_la_LDFLAGS = $(CY_SIM_FLAGS) $(CY_LDFLAGS)
+
+libcycript_sim_la_LIBADD = $(LTLIBICONV) -ldl
+
+libcycript_sim_la_CPPFLAGS += -idirafter /usr/include
+libcycript_sim_la_LDFLAGS += -Wl,/usr/lib/libffi.dylib
+
+libcycript_sim_la_OBJCXXFLAGS += -fobjc-abi-version=2 -fobjc-legacy-dispatch
+endif
+