Skip to content

Commit

Permalink
feature: merge branch centos5.4 to support both 5.4 and 6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
flabby committed Dec 22, 2015
1 parent 1912ca1 commit 094012b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ RPATH = /usr/local/pika/lib/
OSVERSION := $(shell cat /etc/redhat-release | cut -d "." -f 1 | awk '{print $$NF}')
ifeq ($(OSVERSION), 5)
LFLAGS = -Wl,-rpath=$(RPATH)
SO_DIR = ./lib/centos5.4/lib
else
SO_DIR = ./lib/centos6.2/lib
endif

CXX = g++
Expand Down Expand Up @@ -52,7 +55,7 @@ all: $(OBJECT)
mkdir $(OUTPUT)
mkdir $(OUTPUT)/bin
cp -r ./conf $(OUTPUT)/
cp -r ./lib $(OUTPUT)/
cp -r $(SO_DIR)/ $(OUTPUT)/
cp $(OBJECT) $(OUTPUT)/bin/
rm -rf $(OBJECT)
@echo "Success, go, go, go..."
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 094012b

Please sign in to comment.