diff options
author | Daichi Shinozaki | 2015-06-09 18:18:39 +0900 |
---|---|---|
committer | Daichi Shinozaki | 2015-06-09 18:18:39 +0900 |
commit | 220a97f34f6067341cd6fb7796980022fb7ddd03 (patch) | |
tree | 26e6dac01cf7340592c61fff17907c5c7191dd01 /std_Makefile.patch | |
download | aur-libosl-svn.tar.gz |
Initial import
Diffstat (limited to 'std_Makefile.patch')
-rw-r--r-- | std_Makefile.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/std_Makefile.patch b/std_Makefile.patch new file mode 100644 index 000000000000..20b7ea7966a8 --- /dev/null +++ b/std_Makefile.patch @@ -0,0 +1,27 @@ +--- Makefile.orig 2014-04-02 20:13:16.000000000 +0900 ++++ Makefile 2014-04-22 18:46:03.625971898 +0900 +@@ -4,7 +4,7 @@ + include $(OSL_HOME)/makefile.conf + + OSL_HOME_FLAGS = -DOSL_HOME=\"$(shell dirname $(shell dirname `pwd`))\" +-CXXFLAGS += $(OSL_HOME_FLAGS) ++CXXFLAGS += $(OSL_HOME_FLAGS) -fPIC -pipe + INCLUDES += -I.. -I../../core + + HASH_SRC = \ +@@ -46,7 +46,7 @@ + OBJS = $(patsubst %.cc,%.o,$(SRCS)) + DEPS = $(patsubst %.cc,.deps/%.cc.d,$(SRCS)) + +-all: libosl_std.a ++all: libosl_std.so.1.0 + + light-clean: + -rm -rf .deps +@@ -56,3 +56,6 @@ + + -include $(DEPS) + libosl_std.a : $(OBJS) ../../core/osl/libosl_core.a ++ ++libosl_std.so.1.0: $(OBJS) ++ $(CXX) -shared -Wl,-soname=libosl_std.so.1 $(OBJS) -o $@ |