diff options
author | Klaus Reimer | 2011-05-07 18:51:02 +0200 |
---|---|---|
committer | Klaus Reimer | 2011-05-08 17:39:26 +0200 |
commit | 77817a8be8881fee3d89c2e48a3fccbc0df81baf (patch) | |
tree | faca5faa8b8dfb497f81a67f10da71b0d4e575cf | |
parent | c7b481802535744aeeffd973afadb5d492057518 (diff) | |
download | scummvm-rg350-77817a8be8881fee3d89c2e48a3fccbc0df81baf.tar.gz scummvm-rg350-77817a8be8881fee3d89c2e48a3fccbc0df81baf.tar.bz2 scummvm-rg350-77817a8be8881fee3d89c2e48a3fccbc0df81baf.zip |
WEBOS: Moved webos plugin build configuration into its own block so it can be configured separately from the generic linux configuration.
-rwxr-xr-x | configure | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -2286,7 +2286,7 @@ POST_OBJS_FLAGS := -Wl,-no-whole-archive LIBS += -ldl ' ;; - linux* | webos) + linux*) _def_plugin=' #define PLUGIN_PREFIX "lib" #define PLUGIN_SUFFIX ".so" @@ -2336,6 +2336,24 @@ LDFLAGS += -Wl,-T$(srcdir)/backends/plugins/psp/main_prog.ld PLUGIN_LDFLAGS += -Wl,-T$(srcdir)/backends/plugins/psp/plugin.ld -lstdc++ -lc ' ;; + webos) +_def_plugin=' +#define PLUGIN_PREFIX "lib" +#define PLUGIN_SUFFIX ".so" +' +_mak_plugins=' +DYNAMIC_MODULES := 1 +PLUGIN_PREFIX := lib +PLUGIN_SUFFIX := .so +PLUGIN_EXTRA_DEPS = +CXXFLAGS += -DDYNAMIC_MODULES +CXXFLAGS += -fpic +PLUGIN_LDFLAGS += -shared $(LDFLAGS) +PRE_OBJS_FLAGS := -Wl,-export-dynamic -Wl,-whole-archive +POST_OBJS_FLAGS := -Wl,-no-whole-archive +LIBS += -ldl +' + ;; *) _dynamic_modules=no _mak_plugins= |