You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vamp-plugin-sdk/vamp-plugin-sdk-1.3-mk.patch

45 lines
1.5 KiB

--- vamp-plugin-sdk-1.3/Makefile.mk 2008-07-09 06:42:49.000000000 -0400
+++ vamp-plugin-sdk-1.3/Makefile 2008-07-17 18:21:02.000000000 -0400
@@ -28,7 +28,7 @@
# Compile flags
#
-CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I. -fPIC
+CXXFLAGS := $(CXXFLAGS) -I. -fPIC
# ar, ranlib
#
@@ -40,8 +40,8 @@
# because our plugin exposes only a C API so there are no boundary
# compatibility problems.)
#
-#PLUGIN_LIBS = $(SDKDIR)/libvamp-sdk.a
-PLUGIN_LIBS = $(SDKDIR)/libvamp-sdk.a $(shell g++ -print-file-name=libstdc++.a)
+PLUGIN_LIBS = $(SDKDIR)/libvamp-sdk.a
+#PLUGIN_LIBS = $(SDKDIR)/libvamp-sdk.a $(shell g++ -print-file-name=libstdc++.a)
# File extension for a dynamically loadable object
#
@@ -58,10 +58,11 @@
# have to use "make install".
#
INSTALL_PREFIX := /usr/local
+LIB := /lib
INSTALL_API_HEADERS := $(INSTALL_PREFIX)/include/vamp
INSTALL_SDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-sdk
INSTALL_HOSTEXT_HEADERS := $(INSTALL_PREFIX)/include/vamp-sdk/hostext
-INSTALL_SDK_LIBS := $(INSTALL_PREFIX)/lib
+INSTALL_SDK_LIBS := $(INSTALL_PREFIX)$(LIB)
INSTALL_SDK_LIBNAME := libvamp-sdk.so.1.1.1
INSTALL_SDK_LINK_ABI := libvamp-sdk.so.1
@@ -75,7 +76,7 @@
INSTALL_HOSTSDK_STATIC := libvamp-hostsdk.a
INSTALL_HOSTSDK_LA := libvamp-hostsdk.la
-INSTALL_PKGCONFIG := $(INSTALL_PREFIX)/lib/pkgconfig
+INSTALL_PKGCONFIG := $(INSTALL_PREFIX)$(LIB)/pkgconfig
# Flags required to tell the compiler to create a dynamically loadable object
#