On Feb 25, 2015, at 1:04 AM, David Holland wrote: If the suggested options don't make it to the compiler commands the package issues (if the package doesn't print those to the output, check in work/.work/log), then it didn't have any effect and you need to try a different hack to inject it.
This is an area I am always a bit shaky about. What are the best ways of injecting options into the command line? As evident below, the DBG hack did not seem to work.
Here is the command line that fails:
/usr/bin/clang -dynamiclib -Wl,-single_module -Wl,-install_name -Wl,/Users/brook/pkg/lib/ffmpeg2/libavutil.54.dylib -Wl,-current_version -Wl,54.15.100 -Wl,-compatibility_version -Wl,54 -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -L/Users/brook/NetBSD/pkgsrc/multimedia/ffmpeg2/work/.buildlink/lib/ffmpeg2 -L/Users/brook/NetBSD/pkgsrc/multimedia/ffmpeg2/work/.buildlink/lib -L/Users/brook/NetBSD/pkgsrc/multimedia/ffmpeg2/work/.x11-buildlink/lib -Wl,-dynamic -Wl,-search_paths_first -Qunused-arguments -o libavutil/libavutil.54.dylib libavutil/adler32.o libavutil/aes.o libavutil/atomic.o libavutil/audio_fifo.o libavutil/avstring.o libavutil/base64.o libavutil/blowfish.o libavutil/bprint.o libavutil/buffer.o libavutil/cast5.o libavutil/channel_layout.o libavutil/cpu.o libavutil/crc.o libavutil/des.o libavutil/dict.o libavutil/display.o libavutil/downmix_info.o libavutil/error.o libavutil/eval.o libavutil/fifo.o libavutil/file.o libavutil/file_open.o libavutil/fixed_dsp.o libavutil/float_dsp.o libavutil/frame.o libavutil/hash.o libavutil/hmac.o libavutil/imgutils.o libavutil/intmath.o libavutil/lfg.o libavutil/lls.o libavutil/log.o libavutil/log2_tab.o libavutil/lzo.o libavutil/mathematics.o libavutil/md5.o libavutil/mem.o libavutil/murmur3.o libavutil/opt.o libavutil/parseutils.o libavutil/pixdesc.o libavutil/pixelutils.o libavutil/random_seed.o libavutil/rational.o libavutil/rc4.o libavutil/ripemd.o libavutil/samplefmt.o libavutil/sha.o libavutil/sha512.o libavutil/stereo3d.o libavutil/threadmessage.o libavutil/time.o libavutil/timecode.o libavutil/tree.o libavutil/utils.o libavutil/x86/cpu.o libavutil/x86/cpuid.o libavutil/x86/emms.o libavutil/x86/float_dsp.o libavutil/x86/float_dsp_init.o libavutil/x86/lls.o libavutil/x86/lls_init.o libavutil/x86/pixelutils.o libavutil/x86/pixelutils_init.o libavutil/xga_font_data.o libavutil/xtea.o -framework QTKit -framework Foundation -framework QuartzCore -framework CoreVideo -framework Foundation -framework AVFoundation -framework CoreMedia -framework CoreGraphics -framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore -pthread -Qunused-arguments -m64 -I/Users/brook/NetBSD/pkgsrc/multimedia/ffmpeg2/work/.buildlink/include -lXv -lX11 -lXext -liconv -lxcb -lxcb-shm -lxcb -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb -lxcb-shape -lxcb -lX11 -lxvidcore -lx264 -lpthread -lm -ldl -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lmp3lame -lass -lm -lbz2 -lz
I don't see anything particularly unusual about this, but it clearly doesn't like the "-framework CoreGraphics" part of this.
Cheers, Brook
|