Files
textmate/target
Ronald Wampler 162b3dee2c Explicitly link with libc++
When building with Xcode 8 beta (on my system at least), clang produced the following warning:

clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9

It appears clang will link with libstdc++ if present by default instead of libc++. This was verified using `otool -L bundles.dylib` which produce the following output prior to this change.

bundles.dylib:
	@rpath/bundles.dylib (compatibility version 1.0.0, current version 1.0.1)
	@rpath/OakSystem.dylib (compatibility version 1.0.0, current version 1.0.1)
	@rpath/io.dylib (compatibility version 1.0.0, current version 1.0.1)
	@rpath/plist.dylib (compatibility version 1.0.0, current version 1.0.1)
	@rpath/regexp.dylib (compatibility version 1.0.0, current version 1.0.1)
	@rpath/scope.dylib (compatibility version 1.0.0, current version 1.0.1)
	@rpath/text.dylib (compatibility version 1.0.0, current version 1.0.1)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 104.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)

With this change the output is now:

bundles.dylib:
	@rpath/bundles.dylib (compatibility version 1.0.0, current version 1.0.1)
	@rpath/OakSystem.dylib (compatibility version 1.0.0, current version 1.0.1)
	@rpath/io.dylib (compatibility version 1.0.0, current version 1.0.1)
	@rpath/plist.dylib (compatibility version 1.0.0, current version 1.0.1)
	@rpath/regexp.dylib (compatibility version 1.0.0, current version 1.0.1)
	@rpath/scope.dylib (compatibility version 1.0.0, current version 1.0.1)
	@rpath/text.dylib (compatibility version 1.0.0, current version 1.0.1)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
2016-06-14 20:49:31 +02:00

1.3 KiB