diff Makefile @ 2858:7c6b29399d05

New script to make shared libraries from static libraries. This script should only be used as a temporary solution for those packages which do not have Makefiles that can be easily fixed to generate shared libraries. It would be better to fix the build systems of these libraries to correctly generate shared libraries using CMake or autotools.
author John W. Eaton <jwe@octave.org>
date Thu, 15 Nov 2012 16:14:26 -0500
parents 4d32dc6aca86
children dfa81fbfc1f5
line wrap: on
line diff
--- a/Makefile	Fri Nov 16 11:17:52 2012 -0500
+++ b/Makefile	Thu Nov 15 16:14:26 2012 -0500
@@ -52,6 +52,8 @@
 PKGS       := $(shell $(SED) -n 's/^.* id="\([^"]*\)-package">.*$$/\1/p' '$(TOP_DIR)/index.html')
 PATH       := $(PREFIX)/bin:$(PATH)
 
+MAKE_SHARED_FROM_STATIC := $(TOP_DIR)/tools/make-shared-from-static
+
 CMAKE_TOOLCHAIN_FILE := $(PREFIX)/$(TARGET)/share/cmake/mxe-conf.cmake
 
 # unexport any environment variables that might cause trouble