Unix:
- Rename install_directories rule
this target creates dependencies/install dir not ortools install dir
- replace $(LIB_SUFFIX) by $L to be consistent with $E and $O suffix
- fix rpath, no need anymore patchelf
-> remove prerequisite $(PATCHELF) in install_cc
- use build_cmake as build directory
note: MacOS is case insensitive when creating directory
and bazel file is named BUILD -> `mkdir build` won't work
- Fix CMD_LNK on mac
- Fix MacOS LINK_FLAGS
- MacOS also use LIB_DIR = lib
Win:
- Fix windows lib suffix $L
Protobuf:
- Need to use PROTOC (like MONO) to add LD_LIBRARY_PATH hack
-> PROTOC = LD_LIBARY_PATH="..." protoc
-> replace $(PROTOBUF_DIR)/bin/protoc by $(PROTOC)
- Remove uneeded PROTOBUF_DIR defs
- Apply patch to protobuf to use @rpath on MacOS
- Add rpath to protobuf install rules
Coin-OR
- Use coin-or github repos mirror instead of the svn repo (Fix#379)
- Use the splited Cbc (CoinUtils, Osi, Clp, Cgl, Cbc)
note: usually distro use this layout cf https://repology.org/metapackage/coin-or-cbc/badges
- Fix rpath for all coin-or libraries at post-install using patchelf (linux) or otools (osx)