From 184fc54762eb18b19a95b9f8307b3d9898634d44 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 7 Aug 2006 17:10:02 +0000 Subject: [PATCH] This is required to build loadable bundles. Drop this into your /Library/Application Support/Apple/Developer Tools/Target Templates/BSD/Loadable Bundle.trgttmpl Restart XCode git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2232 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- mac/xcode/Loadable Bundle.trgttmpl | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 mac/xcode/Loadable Bundle.trgttmpl diff --git a/mac/xcode/Loadable Bundle.trgttmpl b/mac/xcode/Loadable Bundle.trgttmpl new file mode 100644 index 0000000000..f1547de509 --- /dev/null +++ b/mac/xcode/Loadable Bundle.trgttmpl @@ -0,0 +1,24 @@ +{ + Class = Native; + ProductType = "com.apple.product-type.objfile"; + Description = "Target for building a laodable bundle without a bundle wrapper."; + CustomBuildSettings = { + MACH_O_TYPE = "mh_bundle"; + INSTALL_PATH = "/usr/local/lib"; + PRODUCT_NAME = "«PRODUCTNAME»"; + PREBINDING = NO; + GCC_MODEL_TUNING = G5; + OTHER_LDFLAGS = "-undefined dynamic_lookup"; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_EXTENSION = "dylib"; + KEEP_PRIVATE_EXTERNS = NO; + }; + BuildPhases = ( + { + Class = Sources; + }, + { + Class = Frameworks; + }, + ); +}