Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-04-25 11:48:00 +0000
committerAlexander Kurtakov2017-04-25 11:48:00 +0000
commit2712e8b831e5b1097a68fc4044fabd441fb6f52b (patch)
tree21549176bcf1537e45b5ec9cc42ed6c4f2070d51
parent2113ebe27fd2ac0cbceba52d0610d342330db528 (diff)
downloadrt.equinox.bundles-2712e8b831e5b1097a68fc4044fabd441fb6f52b.tar.gz
rt.equinox.bundles-2712e8b831e5b1097a68fc4044fabd441fb6f52b.tar.xz
rt.equinox.bundles-2712e8b831e5b1097a68fc4044fabd441fb6f52b.zip
[bug 234509] Equinox keystore fragment for Linux 64bitY20170427-1000I20170426-2000I20170425-2000I20170425-0910
Make sure that passing -Dnative=gtk.linux.x86_64 to maven will rebuild the libkeystorelinuxnative.so file. Change-Id: Ice43578a5d1c1ca887c81c1092b45bc1cd142db2 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.equinox.security.linux.x86_64/pom.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.security.linux.x86_64/pom.xml b/bundles/org.eclipse.equinox.security.linux.x86_64/pom.xml
index 0c44835a3..25369f8fd 100644
--- a/bundles/org.eclipse.equinox.security.linux.x86_64/pom.xml
+++ b/bundles/org.eclipse.equinox.security.linux.x86_64/pom.xml
@@ -41,4 +41,37 @@
</plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>build-natives</id>
+ <activation>
+ <property>
+ <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
+ <name>native</name>
+ <value>gtk.linux.x86_64</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>natives</id>
+ <phase>process-resources</phase>
+ <configuration>
+ <target>
+ <exec executable="make" newenvironment="false" dir="keystorelinuxnative/"/>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>

Back to the top