Skip to content
Snippets Groups Projects
Commit 98f3e45a authored by Yun Liu's avatar Yun Liu
Browse files

Modify pjproject Makefile in order to tolerant both 32bit and 64bit system

parent e5b915c1
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ install: ...@@ -74,7 +74,7 @@ install:
mkdir -p $(DESTDIR)$(prefix)/lib mkdir -p $(DESTDIR)$(prefix)/lib
cp -L $$(find . -name '*.a') $(DESTDIR)$(prefix)/lib cp -L $$(find . -name '*.a') $(DESTDIR)$(prefix)/lib
cp -RL $$(find ./pjnath ./pjsip ./pjmedia ./pjlib ./pjlib-util ./pjsip-apps -name include) $(DESTDIR)$(prefix) cp -RL $$(find ./pjnath ./pjsip ./pjmedia ./pjlib ./pjlib-util ./pjsip-apps -name include) $(DESTDIR)$(prefix)
cd $(DESTDIR)$(prefix)/lib; for i in $$(find . -name 'libpj*a'); do\ cd $(DESTDIR)$(prefix)/lib; for i in $$(find . -name 'libpj*x86_64*a' -or -name 'libpj*686*a'); do\
ln -s $$i $$(echo $$i | sed -e "s/-$(TARGET_NAME)//");\ ln -s $$i $$(echo $$i | sed -e "s/-$(TARGET_NAME)//");\
done done
mkdir -p $(DESTDIR)$(prefix)/lib/pkgconfig mkdir -p $(DESTDIR)$(prefix)/lib/pkgconfig
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment