diff options
author | jstebbins <[email protected]> | 2013-03-03 16:18:16 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2013-03-03 16:18:16 +0000 |
commit | 288639e626b5c550fdd33e49abf1b8e3a3fcd52e (patch) | |
tree | 0df5c1da8728a0706110984b675a0d3b7a350ba9 /macosx | |
parent | b56a9d0fc23ca64f1d63afb797bdc07e1dffc357 (diff) |
Add optional fdk-aac encoder
configure --enable-fdk-aac to enable this encoder
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5287 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/module.defs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/module.defs b/macosx/module.defs index ff1dff762..1870d5fe9 100644 --- a/macosx/module.defs +++ b/macosx/module.defs @@ -25,6 +25,10 @@ MACOSX.map.g.min = debug MACOSX.map.g.std = debug MACOSX.map.g.max = debug +ifeq (1,$(FEATURE.fdk_aac)) +MACOSX.extra_ldflags = OTHER_LDFLAGS='$(abspath $(BUILD))/contrib/lib/libfdk-aac.a' +endif + ## xcconfig: must be one of macosx/xcconfig/*.xcconfig MACOSX.xcconfig = $(foreach x,$(XCODE.xcconfig),-xcconfig $(MACOSX.src/)xcconfig/$(x)) MACOSX.sdk = $(foreach sdk,$(GCC.sysroot),-sdk $(sdk)) @@ -54,4 +58,6 @@ MACOSX.XCODE = $(strip \ EXTERNAL_JOBS='$(BUILD.jobs)' \ EXTERNAL_VARS='$(-*-command-variables-*-)' \ \ + $(MACOSX.extra_ldflags) \ + \ $(2) ) |