Use -Wl for linker flags.

Originally committed to SVN as r5143.
This commit is contained in:
Amar Takhar 2011-01-08 15:38:11 +00:00
parent 4eeacb5ab9
commit 55803684c3

View file

@ -12,7 +12,7 @@ PRECOMPILED_HEADER_NAME=r_pre.h
#endif #endif
CXXFLAGS += -Iinclude $(CFLAGS_WX) -I../libaegisub/include CXXFLAGS += -Iinclude $(CFLAGS_WX) -I../libaegisub/include
LDFLAGS += $(LDFLAGS_WX) $(LDFLAGS_LIBCURL) -L../libaegisub -laegisub-3.0 $(LDFLAGS_UCHARDET) -rpath ../libaegisub LDFLAGS += $(LDFLAGS_WX) $(LDFLAGS_LIBCURL) -L../libaegisub -laegisub-3.0 $(LDFLAGS_UCHARDET) -Wl,-rpath ../libaegisub
#if PRECOMPILED_HEADER #if PRECOMPILED_HEADER
## This doesn't depend on Makefile on purpose, you should already know what you're doing when using this. ## This doesn't depend on Makefile on purpose, you should already know what you're doing when using this.